Views
NewDomainNameServers
Power DNS is an OpenSource DNS project that uses mysql and that can be found at www.powerdns.org.
We have two servers running power dns:
hpcfns1.hpcf.upr.edu primary 136.145.54.10
hpcfns2.hpcf.upr.edu secondary 136.145.54.11
Installing pdns
Power dns may be installed from an rpm or tar ball. From rpm: rpm -Uvh pdns-x.x.rpm From tar: ./configure ; make ; make install
Configuring pdns
Edit the file pdns.conf Set in their respective sections default-soa-name=hpcf.upr.edu #Our soa name disable-tcp=no #Allow TCP queries local-address=136.145.54.10 #The ip hpcfns1 binds local-port=53 #Default dns port master=yes #This is in the hpcfns1 recursor=136.145.54.100:5353 #The dns you want to be our recursor (See datails bellow) smtpredirector=mail.hpcf.upr.edu #Our smtp server(mail server)
The recursor is a dns that resolve domain names from the outside word. We are running bind (named) in the master dns server in another port to have our recursor.
Using Power Admin Power Admin is Web administration tool for pdns that can be found at www.poweradmin.org . Our zones are available at http://beacon.ipv6.upr.edu/~pdns/PowerAdmin/ contact mailto:help@hpcf.upr.edu for an account.
Creating a zone
Go to create domain Fill Domain name: example.domain.com Mail IP : 136.145.54.75 #Our current mail server ip Owner : User name #Your user name
Creating reverse address zone
Go to create domain Fill Domain name: 54.145.136.in-addr.arpa #The class C of the ip + .in-addr.arpa Mail IP : Owner : User name #Your user name
Adding a domain record
Click over the link of the zone where you want to add a record example.domain.com Push button Add record Fill Name: first #for first.example.domain.com Type:#Normaly an A record Content: 136.145.54.10 #if you want first.example.domain.com to resolve to 136.145.54.10 Push Add record
Adding a reverse record
Click over the link of the reverse zone where you want to add a record 54.145.136.in-addr.arpa Push button Add record Fill Name: 10 #If you want to create the reverse of the ip 136.145.54.10 Type: PTR #The ip will point to Content: first.example.domain.com #if the reverse of 136.145.54.10 is first.example.domain.com Push Add record
Check if the new records works
$host 136.145.54.10 That should return first.example.domain.com $host first.example.domain.com That should return 136.145.54.10
--Author Jose R. Ortiz 24 Jul 2003