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.
Hey guyz, alright, i had my reverse dns working for awhile now, then all the sudden something happend to my zone files, so i had to remake them, now when i redid my reverse.zone file and added the PTR records im getting this from bind when i restart the services
Oct 10 00:19:02 web named[14032]: zone 177.39.65.in-addr.arpa/IN: loading master file /var/named/reverse.zone.db: unexpected end of input
Oct 10 00:19:02 web named[14032]: dns_rdata_fromtext: /var/named/reverse.zone.db:8: near eol: unexpected end of input
Oct 10 00:19:02 web named[14032]: zone reverse.zone/IN: loading master file /var/named/reverse.zone.db: unexpected end of input
I don't know for sure since I haven't seen your zone file, but I would guess that there's something on line 8 of your file that there is a new line before there should be.
It is expecting something like " IN PTR localhost" and got something like " IN PTR ".
178 IN PTR web.finalsolutions.ca.
179 IN PTR ns1.finalsolutions.ca.
180 IN PTR ns2.finalsolutions.ca.
181 IN PTR finalsolutions.ca.
182 IN PTR secure.finalsolutions.ca.
183 IN PTR bnc.finalsolutions.ca.
184 IN PTR gamersedge.ca.
186 IN PTR got-owned.ca.
187 IN PTR you.got-owned.ca.
Your SOA record is missing the e-mail address. I added netadmin.finalsolutions.com for reference (see below). Plus, I deleted the localhost definition (should be in its own zone file) along with adding @ for the NS records for clarity.
Code:
[root@excelsior scowles]# cat test.db
$ttl 1400
$ORIGIN 177.39.65.in-addr.arpa.
@ IN SOA ns1.finalsolutions.ca. (
netadmin.finalsolutions.com.
2005100102 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
@ IN NS ns1.finalsolutions.ca.
@ IN NS ns2.finalsolutions.ca.
178 IN PTR web.finalsolutions.ca.
179 IN PTR ns1.finalsolutions.ca.
180 IN PTR ns2.finalsolutions.ca.
181 IN PTR finalsolutions.ca.
182 IN PTR secure.finalsolutions.ca.
183 IN PTR bnc.finalsolutions.ca.
184 IN PTR gamersedge.ca.
186 IN PTR got-owned.ca.
187 IN PTR you.got-owned.ca.
[root@excelsior scowles]# named-checkzone 177.39.65.in-addr.arpa. test.db
zone 177.39.65.in-addr.arpa/IN: loaded serial 2005100102
OK
[root@excelsior scowles]#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.