Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Did you compile from source? If you did, the the bind directory there should be a subdirectory bin/checks and named-checkzone and named-checkconf. Checkconf will check the named.conf file and report errors, and checkzone will check the individual zonefile you point it at. That can help, or you could check the logs to see the problem.
If you installed from an rpm on the SLES system I don't know if they include those tools or not.
I'm far from a BSD expert, but named-checkzone doesn't check and see if you get an answer for the zone, it simply checks the integrity of the zonefile itself. You must add nameservers to the zonefile, or it won't work. You could do something simple like:
Code:
7200 IN NS ns1.ddns.mydomain.co.za.
7200 IN NS ns2.ddns.mydomain.co.za.
Then below that identify those names with A records -
Code:
ns1.ddns.mydomain.co.za IN A I.P.Add.Ress
ns2.ddns.mydomain.co.za IN A I.P.Add.Ress
You can even use the same address for both ns1 and ns2, but you have to identify at least 2 nameservers for every zone.
You can use a program like nmap on linux to see what ports are open on the BSD box, and you should be able to compile that on BSD as well I would think. You could also try telnetting to localhost at port 53 on the BSD box to see if the port is open. Given BSD's security features it is entirely possible that port 53 is closed, but I don't know how to open it. It might be a simple firewall script, or it could be something else.
I don't have the exact problem, but the output seems likely to point to the problem -
Quote:
client# ./update-dns.sh
Creating key...
The script shouldn't be generating the key, it should just use the key that already exists. I suspect something inside of update-dns.sh needs to be changed. Since the key needs to match both on the client machine and the DNS server, generating a new key is sure to fail.
The script shouldn't be generating the key, it should just use the key that already exists. I suspect something inside of update-dns.sh needs to be changed.
Yeah, that sounds like exactly what I described. It is using a bad key. Check out this page in the answers section that deals with linking dhcp and ddns together.
Yeah, case sensitivity can be a pain. Check the BIND logs. You'll probably see something about lack of permissions for the zone file. In any case, there should be some error logged to the logs. Syslog if nothing else, but any BIND logging should have it.
Not without more info. Set BIND to log everything in named.conf, and check them. It can't just not work and not have a reason. Is rndc installed and functional?
I'm out of town at the moment, but please log and post here, or put up a link to the log files and I'll check them out when I can.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.