Skip to content.

UPR HPCf

Sections
Personal tools
You are here: Home » Members » humberto's Home » Test ZWiki » DomainNameServers
Views

DomainNameServers

last edited 6 years ago by humberto

NOTE: This page is obsolete, Cheo and William have to write one about how to use PowerDNS?.

DNS Servers

The hpcf runs 3 name servers:

  • alligator - a hidden master, has the master copies of the zones
  • hpcfns1 - the published dns server, slave to alligator.
  • hpcfns2 - second server, slave to alligator.

In addition, the zone hpcf.upr.edu and in-addr.arpa.54.145.136 list ns.fiu.edu as a server as well, alligator pushes the zone out to them as well.

Any changes in dns servers for this zone must be coordinated with f_ramos@upr1.upr.clu.edu (upr.edu zone ns and glue records), maria@fiu.edu (fiu slave server), and us dns@hpcf.upr.edu .

Generating zone files for the hpcf.

All the DNS zones are served from alligator.hpcf.upr.edu, log in, su to root, and change to: /usr/local/src/makedns/hpcf, edit the file hpcf, then make and make install to push the changes to the three slave servers.

Adding new zones

New zones can be added in a similar manner to the HPCf zone. Change to the directory: /usr/local/src/makedns and copy an existing zone to the new zone

# cd /usr/local/src/makedns
# cp -R oed newzone
# cd newzone
# mv oed.zone newzone.zone

Now edit the makefile and change oed to newzone, pay attention to the directory structure in the install instructions, you'll have to make the directories on alligator, hpcfns1 and hpcfns2 (i.e. # mkdir /var/named/zones/newzone).

Edit the zone file setting up the names and IP addresses you wish to establish. The makezones program will be used to produce the forward and reverse zone files for newzone.zone. The perl script has comments defining the format of the zone file, but it's almost the same syntax as a forward zone file.

The command make will run makezones on the zone file, and make install should copy the zone files to alligator and restart the name server.

After any change go to the /usr/local/src directory and run make upload to syncronize the makedns directory with astraeus.

If the zone is new, you will also need to modify the named.conf files on alligator, hpcfns1 and hpcfns2. These files are found in the directory:

/usr/local/src/makedns

You should use one of the other zones (like oed) as a template, and edit the files

named-master.conf
named-slave-10.conf
named-slave-11.conf

Remember to specify the correct directories for the zone files.

Now make install will copy these files to each machine, and restart named on each one.

For best operation, each zone should have at least two name servers, and they should not be in the same network.

-- Main.HumbertoOrtiz - 27 Nov 2000

 

Powered by Plone

This site conforms to the following standards: