Axel K 3 Posted 2010-09-16 15:21:19 Share Posted 2010-09-16 15:21:19 у меня такая задача: есть локальный сервер со всякой хренью. пользователи хотят заходить на него через браузер набирая имя, например, "serverhome", а не 192.168.1.1 в файле named.conf добавил zone "serverhome" { type master; file "/etc/namedb/serverhome.hosts"; }; файл serverhome.hosts $ttl 38400 serverhome. IN SOA serverhome. admin.serverhome. ( 1284590838 10800 3600 604800 38400 ) serverhome. IN NS 192.168.1.1 www.serverhome. IN A 192.168.1.1 serverhome. IN A 192.168.1.1 правильно или я что то не так делаю? Link to post Share on other sites
Enferno 163 Posted 2010-09-16 15:55:40 Share Posted 2010-09-16 15:55:40 настройка днс-а хорошо изложена в хендбуке: http://www.freebsd.org/doc/ru/books/handbook/network-dns.html Link to post Share on other sites
ПытливыйУм 0 Posted 2010-09-16 16:39:27 Share Posted 2010-09-16 16:39:27 у меня так работает $TTL 86400 @ IN SOA ns admin.my-net.net. ( 2004101109 ; Serial 3600 ; Refresh 900 ; Retry 3600000 ; Expire 3600 ) ; Minimum NS ns A 192.168.1.1 ns A 192.168.1.1 Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now