dns help
Hello,
I am trying to setup a dns server but I am having some trouble. I have
registered a domain name sacred-key.org and linked it to my dns server,
which has a domain name from my provider, called jon.planet.nl.
I have installed bind and set up the scripts, but until now I have not
been succeeded in succesfully configuring these. I have attached both
scripts.
My problem is that changes are not made succesfully, locally on the domain
name server changes behave strange and on various hosts I get various
results. Someone told me that this had something to do with the revision
file.
When I do a nslookup on my dns:
$ nslookup
Default Server: ipd.planet.nl //hmm, my provider seems to have different
names for my computer
Address: 213.10.33.89 // this ip is pointed to by jon.planet.nl,
ipd.planet.nl and ought to be sacred-key.org
> sacred-key.org
(see above)
*** ipd.planet.nl can't find sacred-key.org: No response from server
while doing the same thing from another server, it correctly responds:
Non-authoritive answer:
Name: sacred-key.org
Address: 213.10.33.89
while both hangs when looking up ftp.sacred-key.org
When I set q=any:
> sacred-key.org
Non-authoritative answer:
sacred-key.org nameserver = ns.sacred-key.org.sacred-key.org
sacred-key.org preference = 10, mail exchanger = mail.sacred-key.org.sacred-key.org
Authorative answers can be found from:
sacred-key.org nameserver = ns.sacred-key.org.sacred-key.org
very odd behaviour. I tried several things, but I seem to do things wrong.
Everytime I update my configuration for a new try, I give a new serial
number. One other thing you should know: I am behind a vpn, so my outside
ip is 213.10.33.89 while my ppp0 is connected at 10.161.67.65 (this number
showed up when I was trying thins).
Does someone has any idea what I could be doing wrong?
Thanks very much in advance!
Sebastiaan
files:
I have this in my /etc/bind/named.conf (among other things):
zone "sacred-key.org" {
file "/etc/bind/db.sacred-key";
};
zone "33.10.213.in-addr.arpa" {
type master;
file "/etc/bind/db.sacred-key-rev";
};
; BIND data file for sacred-key.org
$TTL 86400
@ IN SOA ns.sacred-key.org. root.sacred-key.org. (
2000112401 ; volgnummer
300 ; Refresh
60 ; Retry
3600000 ; Expire
86400 ) ; Default TTL
IN NS ns
89 IN PTR sacred-key.org
; BIND data file for sacred-key.org
$TTL 86400
@ IN SOA ns.sacred-key.org. root.sacred-key.org. (
2000112401 ; volgnummer
300 ; Refresh
60 ; Retry
3600000 ; Expire
86400 ) ; Default TTL
IN NS ns
IN MX 10 mail.sacred-key.org
IN A 213.10.33.89
www IN NS 202.67.129.130
mail IN A 213.10.33.89
ns IN A 213.10.33.89
ftp IN CNAME mail.sacred-key.org
Reply to: