Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Okay...I'm at my breaking point trying to figure this out. I can't seem to get named to start, anytime I attempt to configure reverse DNS. If I leave out the reverse DNS stuff...named starts just fine.
zipsync1.net. 86400 IN NS ns1.zipsync1.net.
zipsync1.net. 86400 IN NS ns2.zipsync1.net.
58 IN PTR www.zipsync1.net
If I comment out the zone "22.18..." section within named.conf, named starts fine. When I remove the comments, I get the following in my logs:
Dec 14 10:14:18 zipsync1 named: zone zipsync1.net/IN: loaded serial 2009121400
Dec 14 10:14:18 zipsync1 named: data/reverse-22.18.216:10: ignoring out-of-zone data (zipsync1.net)
Dec 14 10:14:18 zipsync1 named: data/reverse-22.18.216:11: ignoring out-of-zone data (zipsync1.net)
Dec 14 10:14:18 zipsync1 named: zone 22.18.216.in-addr.arpa/IN: has no NS records
Dec 14 10:14:18 zipsync1 named: _default/22.18.216.in-addr.arpa/IN: bad zone
Any help or suggestions would be VERY much appreciated. Sorry for the formatting. It was all lost when I submitted the thread. Thanks!
Shoot...I had high hopes that this was it. Unfortunately, that didn't work. I did as you mentioned: added a dot at the end, increased the serial and restarted named. Still getting the same error:
[root@zipsync1 named]# /etc/init.d/named restart
Stopping named: [ OK ]
Starting named:
Error in named configuration:
zone zipsync1.net/IN: loaded serial 2009121400
data/reverse-22.18.216:10: ignoring out-of-zone data (zipsync1.net)
data/reverse-22.18.216:11: ignoring out-of-zone data (zipsync1.net)
zone 22.18.216.in-addr.arpa/IN: has no NS records
_default/22.18.216.in-addr.arpa/IN: bad zone
[FAILED]
*** EDIT ***
See what exactly you need to change in the zone file:
The real problem wasn't the dots (in fact you missed just the one in "58 IN PTR www.zipsync1.net."). The problem was the dns in the SOA record (it was 22.18.216.in-addr.arpa.) and the ORIGIN of the NS records (was zipsync1.net.).
Good to see it worked.
The real problem wasn't the dots (in fact you missed just the one in "58 IN PTR www.zipsync1.net."). The problem was the dns in the SOA record (it was 22.18.216.in-addr.arpa.) and the ORIGIN of the NS records (was zipsync1.net.).
Cheers
Bathory,
I can't thank you enough for your help. It's still not starting though. I'm not 100% sure I understand what you mean (about the DNS in the SOA record being incorrect). Do I need to change something, so it properly matches?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.