lordshadow
22nd September 2008, 00:55
Hi,
basing my bind config on this howto: http://howtoforge.com/perfect_setup_debian_etch_p4
and this site: http://linux.justinhartman.com/DNS_Installation_and_Setup_using_BIND9
I am now really stuck as I'm having even more issues then my previous failed attempt at this.
A while back I tried to create a master DNS server that would work inside my LAN and provide local addresses with DNS lookups of my servers. It failed the first time since I didn't have a domain name but as now I have one it still isn't working and has got worse?
Well to start with I created 2 zone files; one for my domain and one for reverse. I have checked those with: named-checkzone
and I got the response OK!
However my server is not directing my local domain quieries to the proper hosts on the network. instead it seems to be using the domain servers provided by the domain company which when routed back into my network gives me "connection reffused"?
Since my first failed try of this I have been using my Cisco router as the local networks DNS server which provided lookups for mydomain.com internally and obviously external quieries google etc.
However I am trying to restore the original domain server now since my internet connection kept timing out due to too much load on the router.
I was told that the server needed to be authoritive if it was going to relay the domain lookups to my local subnet so after google'ing a while I found that bind with rndc needed to create a key.
I decided to create on like:
rndc-confgen -a -c /etc/namedb/rndc.conf -k dnsadmin -b 256
however I get the reply when running rndc update: rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.
and have tried adjusting the permissions to 777 on both rndc.conf and rndc.key but to no effect :(
I don't know what to do now. Bind starts however rndc doesn't and I have no idea how to reset rndc after trying to remove the rndc.* files it complains that there is no key???
This problem is really complicated and I don't know if anyone has an idea of how to get rndc reload to work (with or without the key) and get my main server to perform active DNS is it zone transferrs so when I type in mydomain.com the IP address of my webserver gets resolved not my WAN IP????
Oh brother I think I've really gone and done it this time!
basing my bind config on this howto: http://howtoforge.com/perfect_setup_debian_etch_p4
and this site: http://linux.justinhartman.com/DNS_Installation_and_Setup_using_BIND9
I am now really stuck as I'm having even more issues then my previous failed attempt at this.
A while back I tried to create a master DNS server that would work inside my LAN and provide local addresses with DNS lookups of my servers. It failed the first time since I didn't have a domain name but as now I have one it still isn't working and has got worse?
Well to start with I created 2 zone files; one for my domain and one for reverse. I have checked those with: named-checkzone
and I got the response OK!
However my server is not directing my local domain quieries to the proper hosts on the network. instead it seems to be using the domain servers provided by the domain company which when routed back into my network gives me "connection reffused"?
Since my first failed try of this I have been using my Cisco router as the local networks DNS server which provided lookups for mydomain.com internally and obviously external quieries google etc.
However I am trying to restore the original domain server now since my internet connection kept timing out due to too much load on the router.
I was told that the server needed to be authoritive if it was going to relay the domain lookups to my local subnet so after google'ing a while I found that bind with rndc needed to create a key.
I decided to create on like:
rndc-confgen -a -c /etc/namedb/rndc.conf -k dnsadmin -b 256
however I get the reply when running rndc update: rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.
and have tried adjusting the permissions to 777 on both rndc.conf and rndc.key but to no effect :(
I don't know what to do now. Bind starts however rndc doesn't and I have no idea how to reset rndc after trying to remove the rndc.* files it complains that there is no key???
This problem is really complicated and I don't know if anyone has an idea of how to get rndc reload to work (with or without the key) and get my main server to perform active DNS is it zone transferrs so when I type in mydomain.com the IP address of my webserver gets resolved not my WAN IP????
Oh brother I think I've really gone and done it this time!