[Ilugc] djbdns
- From: linux@xxxxxxxxxxxxxxxx (Suresh Ramasubramanian)
- Date: Mon, 01 Mar 2004 10:07:15 +0530
Narayanamoorthy Srinivasan [3/1/2004 9:49 AM] :
Hi,
I am using djbdns in my server. I configured tinydns according to the
instructions in the site.
I added two domains example.com and dummy.com using add-ns, add-mx, etc. and
edited data file for fixing the nameserver name as ns1.mycompany.com instead
of a.ns.mycompany.com. Below are the contents of my data file
.1.1.168.192.in-addr.arpa:192.168.1.1:a:259200
.example.com:192.168.1.1:ns1.mycompnay.com:259200
.example.com:192.168.1.1:ns2.mycompany.com:259200
=example.com:192.168.1.1:86400
=www.example.com:192.168.1.1:86400
@example.com:192.168.1.2:mail.example.com::86400
.dummy.com:192.168.1.1:ns1.mycompany.com:259200
.dummy.com:192.168.1.2:ns2.mycompany.com:259200
=dummy.com:192.168.1.1:86400
=www.dummy.com:192.168.1.1:86400
@dummy.com:192.168.1.2:mail.dummy.com:10:86400
Because you are adding duplicate A records over there.
Edit the data file so that you don't mention the IP all that often.
To add an A record -
+www.mycompany.com:192.168.1.1:7200
that is - A record with a TTL 7200.
For NS record -
&mycompany.com::ns1.mycompany.com.:7200
&mycompany.com::ns2.mycompany.com.:7200
For MX records - MX 10 mx1.mycompany.com and MX 20 mail.example.com -
@mycompany.com::mx1.mycompany.com.:10:7200
@mycompany.com::mail.example.com.:20:7200
--
linux@xxxxxxxxxxxxxxxx (Suresh Ramasubramanian)
jaharkes@ravel:/usr/src$ mv linux Gnu/Linux
mv: cannot move `linux' to `Gnu/Linux': No such file or directory
jaharkes @ cs.cmu.edu in reply to RMS on linux.kernel
Other related posts:
- » [Ilugc] djbdns- Narayanamoorthy Srinivasan
- » [Ilugc] djbdns - Suresh Ramasubramanian