Replacing ms dns with bind9
Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
|
Isc Bind 9 for windows
Replacing ms dns with bind9 is an better idea here is why: 1.It's really faster (noticed when i run first query on that machine and had lower latency) 2.Better security (windows2k is not supported with patches in future) 3.You can migrate easily to linux after that ;) Download from isc.org unzip it and run the installer (bindinstaller.exe) from inside directory http://www.isc.org/sw/dl/?pkg=bind/contrib/ntbind-9.3.1/ BIND9.3.1.zip&name=BIND%209.3.1%20Windows%20Binaries Install the package as service (there is an setup inside zip) create etc/named.conf with folowing content zone "." { type hint; file "named.root"; }; zone "localhost" IN { type master; file "localhost.zone"; allow-update { none; }; }; zone "0.0.127.in-addr.arpa" { type master; file "named.local"; }; #isc bind is installed in this dir c:\winnt\system32\dns include "d:\winnt\system32\dns\named.zones"; options download root dns server list "named.ca" from FTP.RS.INTERNIC.NET (anonymous ftp) create localhost.zone with following content $TTL 86400 $ORIGIN localhost. @ 1D IN SOA @ root ( 44 ; serial (d. adams) 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum 1D IN NS @ 1D IN A 127.0.0.1 localhost.localdomain. IN A 127.0.0.1 create named.local @ IN SOA localhost. root.localhost. ( 19 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN NS localhost. 1 IN PTR localhost. Is time now for named.zones that will contain (shock) zone files zone "example.com" IN { type master; file "example.com.db"; }; Where example.com.db will be created like this (with this content) example.com. IN SOA ns1.example.com. hostmaster.example.com. ( 200509121 ; Serial 30800 ; Refresh 7200 ; Retry 604800 ; Expire 300 ) ; Minimum example.com. IN NS ns1.example.com. example.com. IN NS ns2.example.com. example.com. IN MX 10 mail.example.com. www.example.com. IN A 192.168.0.3 example.com. IN A 192.168.0.3 mail.example.com. IN A 192.168.0.3 ftp.example.com. IN A 192.168.0.3 Start the server with this command (to see if any errors ) bin/named -g -f -d 5 If server responds to queries try dig example.com @localhost next step is to enable it as service and remove ms dns server (it's that easy to replace monopoly ;))
|
Sponsored Links:
Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video
www.seamlessenterprise.com
One number. One voicemail. Seize the lead. Sprint Mobile Integration.
www.seamlessenterprise.com
One Number. One Voicemail.
Make it easier for clients to reach you. Turn your desk phone and mobile phone into one with Sprint Mobile Integration.
www.seamlessenterprise.com
One number. One voicemail. Sprint Mobile Integration.
www.seamlessenterprise.com
AT&T Synaptic Compute as a Service. Boost your power on demand.
Trial: IBM Cognos Express Reporting, Analysis & Planning
Learn benefits of Simpana software.
View the Gartner Video







Recent comments
17 hours 39 min ago
20 hours 23 min ago
1 day 1 hour ago
1 day 4 hours ago
1 day 5 hours ago
1 day 6 hours ago
1 day 7 hours ago
1 day 13 hours ago
1 day 14 hours ago
1 day 17 hours ago