Before setup DNS and after DNS question
Hi All,
I have a few question regard to setting up a LAN dns.
Oh, by the way i use bind-chroot directory. i use router dhcp server at the moment i have spend a month to do, i have too muc information on other site and i got confuse, i can post the config of the named.conf if you require Thanks in advance :) sg |
DNS and DHCP provide 2 different functions and do not depend on each other, I'd suggest you leave the router performing DHCP but reduce the range of addresses it provides - eg. 192.168.0.50 - 192.168.0.254. Then you can give your DNS server an IP address somewhere between 192.168.0.2 - 192.168.0.49 assuming your router is at 192.168.0.1.
Unfortunately, correct DNS setup will require some reading otherwise you may be opening yourself up to exploitation. There is a great book that is available online - http://www.zytrax.com/books/dns/ .. please read it thoroughly. cheers |
does dhcp server also distribute dns to it client, when xp client has request for an ip address from dhcp server?
it is a great site you give me, i will spend time to read.
i did setup on my router dns 1 = 192.168.20.x my dns server dns 2 = 123.123.123.123 my isp dns server my xp client did pick up these setting after that i have change in the router. Thanks, SG |
Usually you would configure the workstations with only your internal dns server/s ip address, then configure forwarders in your dns server/s to resolve external domains
cheers |
does the forwarder setup in the named.cond file?
i have test the server, below are the result does it make sense? Quote:
|
Yes, configure forwarders in named.conf
Something like: Code:
options { http://www.zytrax.com/books/dns/ch6/#forwarding cheers |
Thank you for your guide kbp :),
si there a command to test if my DNS server status is running local or external? Thanks, SG |
Take a look at the 'rndc' command
cheers |
All times are GMT -5. The time now is 07:04 AM. |