Reverse DNS
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 |
reverse dns
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 ". |
here's what my reverse looks like, sorry that i didnt post it right away.
$ttl 1400 $ORIGIN 177.39.65.in-addr.arpa. @ IN SOA ns1.finalsolutions.ca. ( 2005100102 ; Serial 28800 ; Refresh 14400 ; Retry 3600000 ; Expire 86400 ) ; Minimum IN PTR localhost NS ns1.finalsolutions.ca. 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. |
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 |
Finaly got it working, thanx
|
All times are GMT -5. The time now is 06:27 PM. |