Reflection: My DNS knowledge always seemed fuzzy when setting it up in Microsoft.

After setting it up in linux I have a much clearer view of how it all works. Even though it does take a little more effort ounce you do it a couple of times it makes much more since. We relied to heavily on webmin and it hurt us in the end. But it did give us a starting point in configuring our DNS. Webmin is a useful tool that still can be applied to much of the configuration. Procedure: 1-Install webmin – We did a wget of the rpm package webmin-1.441-1.noarch.rpm – rpm –I webmin-1.441-1.noarch.rpm to install the package ○ after installation webmin was enabled by default with ssl and set to port 10,000 2-Configure Win2k3 as a Domain controller – start, run, dcpromo – On the domain controller page select domain controller for an existing domain. Type in the full dns name for the domain. – Verify the file locations are acceptable and proceed to the DNS Registration Diagnostics. Click next. – Click next to accept the default permission option on the permission page. – Put in the administrator password on the next menu to complete the installation of active directory. You should see the message come up on the next screen “This server is Now a domain controller” – restart the PC 3-Install DNS on the Fedora machine as a master server – after switching the server to use an external address we then used yum install bind – after bind was installed and started with /etc/init.d/named start – now we need to create the zones for the DNS – Created the forward lookup zone in /var/named/ file – IN SOA group3-Fedora10. ( 1232999249 10800 3600 604800 38400 ) IN NS IN A IN A IN A IN A IN A IN A IN MX 1

The beginning of the file states the FQDomain Name, the start of authority, and then the name server’s hostname that will be used and then followed by the email address for administration contact. Second line is used for serial number refresh interval retry interval expiration interval min TTL Then we specified the NS recorder followed by our host A records After creating the file we restartded the named service /etc/init.d/named restart

○ ○ ○ ○ ○ ○ ○ ○ – –

when then checked the /etc/resolv.conf file Now we created the reverse lookup zone under /var/named/ ○ this file must be in this format or it will not work ○ it does not matter what the forward lookup zone is named
$ttl 38400 IN 1233008038 10800 3600 604800 38400 ) IN SOA group3-Fedora10. (

– – – – – – – – – – – – – –

○ setup is very similar to the forward lookup zone After the reverse zone is created we then needed to edit the /etc/named.conf main configuration file options { listen-on port 53 {; }; listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; allow-update{;


group3-Fedora10. PTR PTR PTR PTR PTR

– – – – – –

}; allow-query {;}; recursion yes; forwarders {;}; forward first;}; logging {channel default_debug { file "data/"; severity dynamic;};}; zone "." IN { type hint; file "";}; include "/etc/named.rfc1912.zones"; zone "" { type master; file "/var/named/"; }; zone "" { type master; file "/var/named/"; }; This file needed to be edited in a few places  the listen-on port needs to have the file  the allow update area needs changed to your network  options set recursion to yes  need to add the forward and reverse lookup zone files names now that it is saved restart the named service with /etc/init.d/named restart ○ need to change the /etc/resolv.conf file to support the new DNS server

– –

Now that the fedora machine is setup as the master DNS server we setup our win2k3 server as the read-only secondary DNS server ○ to add the DNS role to the server we had to add it from the control panel ○ After launching the setup for the DNS server we configured it through the computer administration tools ○ We used the wizard and set the forwarder to (our fedora box) ○ Now we needed to setup our trusted zone transfer  we right clicked our forward lookup zone • forwarder tab ○ added to the forwarder ip list ○ added to the forwarder ip list