How to set-up an NS delegation on a server?
fred
fguillet at gmail.com
Sun Apr 3 15:41:55 UTC 2005
Hi,
I did an ns delegation transfer from my registrar to my server (with
one fixed Ip address).
I am trying to set up the bind9 files (.hosts and .rev) of this machine
that host everything (www + smtp) but it doesn't work.
In /etc/hosts I have the following:
127.0.0.1 localhost.localdomain localhost
192.168.0.6 tidi1.mydomain.com tidi1
In /etc/resolv.conf I put:
Search mydomain.com
Nameserver 192.168.0.44
And here is what I wrote in the .hosts file:
mondomaine.com. IN SOA ns0.mydomain.com.
(
2004113025 ; Serial
3600 ; Refresh
3600 ; Retry
6048000 ; Expire
38400 ) ; Negative Cache TTL
mondomaine.com. IN NS ns0.mydomain.com.
mondomaine.com. IN NS ns1.mydomain.com.
mondomaine.com. IN MX 10 smtp.mondomaine.com.
mondomaine.com. IN A 195.138.248.168 (my fixed IP)
www.mondomaine.com. IN A 195.138.248.168
168.248.138.195.mydomain.com. IN PTR www.domain.com.
I had to notify two nameservers for my registrar. Both have the same ip
address ,the fixe done that has been given to me by my operator.
Here is the content of the .rev file:
mondomaine.com. IN SOA ns0.mydomain.com.
(
2002011700 ; Serial
28800 ; Refresh
14400 ; Retry
2419200 ; Expire
10800 ) ; Negative Cache TTL
mondomaine.com. IN NS ns0.mydomain.com.
mondomaine.com. IN NS ns1.mydomain.com.
2 IN PTR ns0.mydomain.com.
44 IN PTR ns0.mydomain.com.
195.138.248.168 IN PTR www.mydomain.com.
I have been trying different configurations for more than a week, read
few hundreds of post but i don't progress at all !!!
Thanks in advance for your help.
Best regards,
fred
More information about the bind-users
mailing list