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:
Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com







Recent comments
7 hours 35 min ago
9 hours 17 min ago
11 hours 43 min ago
11 hours 49 min ago
16 hours 23 min ago
18 hours 24 min ago
21 hours 47 min ago
23 hours 54 min ago
1 day 5 min ago
1 day 2 hours ago