BIND Reverse DNS Ignoring out-of-zone data
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I have a simple, single-address reverse DNS PTR for 10.142.0.2
to gbox.example.com
record set up like so:
# cat /var/named/zones/0.142.10.in-addr.arpa.db
$ORIGIN .
$TTL 1D
0.142.10.in-addr.arpa. IN SOA gbox.example.com. dnsadmin.example.com. (
2018111401 ;
12h ;
5m ;
1w ;
3h ;
)
NS gbox.example.com.
$ORIGIN 0.142.10.in-addr.arpa.
2 PTR gbox.example.com.
and when I run:
# named-checkzone 2.0.142.10.in-addr.arpa /var/named/zones/0.142.10.in-addr.arpa.db
/var/named/zones/0.142.10.in-addr.arpa.db:5: ignoring out-of-zone data (0.142.10.in-addr.arpa)
zone 2.0.142.10.in-addr.arpa/IN: has 0 SOA records
zone 2.0.142.10.in-addr.arpa/IN: has no NS records
zone 2.0.142.10.in-addr.arpa/IN: not loaded due to errors.
# named-checkzone 10.142.0.2 /var/named/zones/0.142.10.in-addr.arpa.db
/var/named/zones/0.142.10.in-addr.arpa.db:5: ignoring out-of-zone data (0.142.10.in-addr.arpa)
/var/named/zones/0.142.10.in-addr.arpa.db:16: ignoring out-of-zone data (2.0.142.10.in-addr.arpa)
zone 10.142.0.2/IN: has 0 SOA records
zone 10.142.0.2/IN: has no NS records
zone 10.142.0.2/IN: not loaded due to errors.
And for the life of me I can't figure out what is going on here.
$ cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
$bind -v
BIND 9.9.4-RedHat-9.9.4-61.el7_5.1 (Extended Support Version)
EDIT: I tried an alternate syntax version of the zone file with no change:
# cat /var/named/zones/0.142.10.in-addr.arpa.db
$ORIGIN 0.142.10.in-addr.arpa.
$TTL 1D
@ IN SOA gbox.example.com. dnsadmin.example.com. (
2018111401 ;
12h ;
5m ;
1w ;
3h ;
)
NS gbox.example.com.
2 PTR gbox.example.com.
EDIT 2: Integrated it into named.conf
:
zone "0.142.10.in-addr.arpa"
type master;
allow-transfer none; ;
notify no;
file "/var/named/zones/0.142.10.in-addr.arpa.db";
;
and I still get the same error with named-checkzone
centos dns bind
add a comment |
up vote
1
down vote
favorite
I have a simple, single-address reverse DNS PTR for 10.142.0.2
to gbox.example.com
record set up like so:
# cat /var/named/zones/0.142.10.in-addr.arpa.db
$ORIGIN .
$TTL 1D
0.142.10.in-addr.arpa. IN SOA gbox.example.com. dnsadmin.example.com. (
2018111401 ;
12h ;
5m ;
1w ;
3h ;
)
NS gbox.example.com.
$ORIGIN 0.142.10.in-addr.arpa.
2 PTR gbox.example.com.
and when I run:
# named-checkzone 2.0.142.10.in-addr.arpa /var/named/zones/0.142.10.in-addr.arpa.db
/var/named/zones/0.142.10.in-addr.arpa.db:5: ignoring out-of-zone data (0.142.10.in-addr.arpa)
zone 2.0.142.10.in-addr.arpa/IN: has 0 SOA records
zone 2.0.142.10.in-addr.arpa/IN: has no NS records
zone 2.0.142.10.in-addr.arpa/IN: not loaded due to errors.
# named-checkzone 10.142.0.2 /var/named/zones/0.142.10.in-addr.arpa.db
/var/named/zones/0.142.10.in-addr.arpa.db:5: ignoring out-of-zone data (0.142.10.in-addr.arpa)
/var/named/zones/0.142.10.in-addr.arpa.db:16: ignoring out-of-zone data (2.0.142.10.in-addr.arpa)
zone 10.142.0.2/IN: has 0 SOA records
zone 10.142.0.2/IN: has no NS records
zone 10.142.0.2/IN: not loaded due to errors.
And for the life of me I can't figure out what is going on here.
$ cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
$bind -v
BIND 9.9.4-RedHat-9.9.4-61.el7_5.1 (Extended Support Version)
EDIT: I tried an alternate syntax version of the zone file with no change:
# cat /var/named/zones/0.142.10.in-addr.arpa.db
$ORIGIN 0.142.10.in-addr.arpa.
$TTL 1D
@ IN SOA gbox.example.com. dnsadmin.example.com. (
2018111401 ;
12h ;
5m ;
1w ;
3h ;
)
NS gbox.example.com.
2 PTR gbox.example.com.
EDIT 2: Integrated it into named.conf
:
zone "0.142.10.in-addr.arpa"
type master;
allow-transfer none; ;
notify no;
file "/var/named/zones/0.142.10.in-addr.arpa.db";
;
and I still get the same error with named-checkzone
centos dns bind
I'm not sure I know what you mean? I'm not currently loading it anywhere, since it doesn't work in the test.
– Chris
yesterday
0.0.10.in-addr.arpa
should probably have a.
after the "arpa" -0.0.10.in-addr.arpa.
– ivanivan
yesterday
Added the.
and no change. Updating question.
– Chris
yesterday
I am not loading it into named.conf yet. I am testing it with named-checkzone before adding it to named.conf because I don't want it loading a broken zone. Is there another portion of named.conf that would help?
– Chris
yesterday
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have a simple, single-address reverse DNS PTR for 10.142.0.2
to gbox.example.com
record set up like so:
# cat /var/named/zones/0.142.10.in-addr.arpa.db
$ORIGIN .
$TTL 1D
0.142.10.in-addr.arpa. IN SOA gbox.example.com. dnsadmin.example.com. (
2018111401 ;
12h ;
5m ;
1w ;
3h ;
)
NS gbox.example.com.
$ORIGIN 0.142.10.in-addr.arpa.
2 PTR gbox.example.com.
and when I run:
# named-checkzone 2.0.142.10.in-addr.arpa /var/named/zones/0.142.10.in-addr.arpa.db
/var/named/zones/0.142.10.in-addr.arpa.db:5: ignoring out-of-zone data (0.142.10.in-addr.arpa)
zone 2.0.142.10.in-addr.arpa/IN: has 0 SOA records
zone 2.0.142.10.in-addr.arpa/IN: has no NS records
zone 2.0.142.10.in-addr.arpa/IN: not loaded due to errors.
# named-checkzone 10.142.0.2 /var/named/zones/0.142.10.in-addr.arpa.db
/var/named/zones/0.142.10.in-addr.arpa.db:5: ignoring out-of-zone data (0.142.10.in-addr.arpa)
/var/named/zones/0.142.10.in-addr.arpa.db:16: ignoring out-of-zone data (2.0.142.10.in-addr.arpa)
zone 10.142.0.2/IN: has 0 SOA records
zone 10.142.0.2/IN: has no NS records
zone 10.142.0.2/IN: not loaded due to errors.
And for the life of me I can't figure out what is going on here.
$ cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
$bind -v
BIND 9.9.4-RedHat-9.9.4-61.el7_5.1 (Extended Support Version)
EDIT: I tried an alternate syntax version of the zone file with no change:
# cat /var/named/zones/0.142.10.in-addr.arpa.db
$ORIGIN 0.142.10.in-addr.arpa.
$TTL 1D
@ IN SOA gbox.example.com. dnsadmin.example.com. (
2018111401 ;
12h ;
5m ;
1w ;
3h ;
)
NS gbox.example.com.
2 PTR gbox.example.com.
EDIT 2: Integrated it into named.conf
:
zone "0.142.10.in-addr.arpa"
type master;
allow-transfer none; ;
notify no;
file "/var/named/zones/0.142.10.in-addr.arpa.db";
;
and I still get the same error with named-checkzone
centos dns bind
I have a simple, single-address reverse DNS PTR for 10.142.0.2
to gbox.example.com
record set up like so:
# cat /var/named/zones/0.142.10.in-addr.arpa.db
$ORIGIN .
$TTL 1D
0.142.10.in-addr.arpa. IN SOA gbox.example.com. dnsadmin.example.com. (
2018111401 ;
12h ;
5m ;
1w ;
3h ;
)
NS gbox.example.com.
$ORIGIN 0.142.10.in-addr.arpa.
2 PTR gbox.example.com.
and when I run:
# named-checkzone 2.0.142.10.in-addr.arpa /var/named/zones/0.142.10.in-addr.arpa.db
/var/named/zones/0.142.10.in-addr.arpa.db:5: ignoring out-of-zone data (0.142.10.in-addr.arpa)
zone 2.0.142.10.in-addr.arpa/IN: has 0 SOA records
zone 2.0.142.10.in-addr.arpa/IN: has no NS records
zone 2.0.142.10.in-addr.arpa/IN: not loaded due to errors.
# named-checkzone 10.142.0.2 /var/named/zones/0.142.10.in-addr.arpa.db
/var/named/zones/0.142.10.in-addr.arpa.db:5: ignoring out-of-zone data (0.142.10.in-addr.arpa)
/var/named/zones/0.142.10.in-addr.arpa.db:16: ignoring out-of-zone data (2.0.142.10.in-addr.arpa)
zone 10.142.0.2/IN: has 0 SOA records
zone 10.142.0.2/IN: has no NS records
zone 10.142.0.2/IN: not loaded due to errors.
And for the life of me I can't figure out what is going on here.
$ cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
$bind -v
BIND 9.9.4-RedHat-9.9.4-61.el7_5.1 (Extended Support Version)
EDIT: I tried an alternate syntax version of the zone file with no change:
# cat /var/named/zones/0.142.10.in-addr.arpa.db
$ORIGIN 0.142.10.in-addr.arpa.
$TTL 1D
@ IN SOA gbox.example.com. dnsadmin.example.com. (
2018111401 ;
12h ;
5m ;
1w ;
3h ;
)
NS gbox.example.com.
2 PTR gbox.example.com.
EDIT 2: Integrated it into named.conf
:
zone "0.142.10.in-addr.arpa"
type master;
allow-transfer none; ;
notify no;
file "/var/named/zones/0.142.10.in-addr.arpa.db";
;
and I still get the same error with named-checkzone
centos dns bind
centos dns bind
edited yesterday
asked yesterday
Chris
246211
246211
I'm not sure I know what you mean? I'm not currently loading it anywhere, since it doesn't work in the test.
– Chris
yesterday
0.0.10.in-addr.arpa
should probably have a.
after the "arpa" -0.0.10.in-addr.arpa.
– ivanivan
yesterday
Added the.
and no change. Updating question.
– Chris
yesterday
I am not loading it into named.conf yet. I am testing it with named-checkzone before adding it to named.conf because I don't want it loading a broken zone. Is there another portion of named.conf that would help?
– Chris
yesterday
add a comment |
I'm not sure I know what you mean? I'm not currently loading it anywhere, since it doesn't work in the test.
– Chris
yesterday
0.0.10.in-addr.arpa
should probably have a.
after the "arpa" -0.0.10.in-addr.arpa.
– ivanivan
yesterday
Added the.
and no change. Updating question.
– Chris
yesterday
I am not loading it into named.conf yet. I am testing it with named-checkzone before adding it to named.conf because I don't want it loading a broken zone. Is there another portion of named.conf that would help?
– Chris
yesterday
I'm not sure I know what you mean? I'm not currently loading it anywhere, since it doesn't work in the test.
– Chris
yesterday
I'm not sure I know what you mean? I'm not currently loading it anywhere, since it doesn't work in the test.
– Chris
yesterday
0.0.10.in-addr.arpa
should probably have a .
after the "arpa" - 0.0.10.in-addr.arpa.
– ivanivan
yesterday
0.0.10.in-addr.arpa
should probably have a .
after the "arpa" - 0.0.10.in-addr.arpa.
– ivanivan
yesterday
Added the
.
and no change. Updating question.– Chris
yesterday
Added the
.
and no change. Updating question.– Chris
yesterday
I am not loading it into named.conf yet. I am testing it with named-checkzone before adding it to named.conf because I don't want it loading a broken zone. Is there another portion of named.conf that would help?
– Chris
yesterday
I am not loading it into named.conf yet. I am testing it with named-checkzone before adding it to named.conf because I don't want it loading a broken zone. Is there another portion of named.conf that would help?
– Chris
yesterday
add a comment |
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
You have created the zone '0.142.10.in-addr.arpa', so you have to check that one:
named-checkzone 0.142.10.in-addr.arpa /var/named/zones/0.142.10.in-addr.arpa.db
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
You have created the zone '0.142.10.in-addr.arpa', so you have to check that one:
named-checkzone 0.142.10.in-addr.arpa /var/named/zones/0.142.10.in-addr.arpa.db
add a comment |
up vote
3
down vote
accepted
You have created the zone '0.142.10.in-addr.arpa', so you have to check that one:
named-checkzone 0.142.10.in-addr.arpa /var/named/zones/0.142.10.in-addr.arpa.db
add a comment |
up vote
3
down vote
accepted
up vote
3
down vote
accepted
You have created the zone '0.142.10.in-addr.arpa', so you have to check that one:
named-checkzone 0.142.10.in-addr.arpa /var/named/zones/0.142.10.in-addr.arpa.db
You have created the zone '0.142.10.in-addr.arpa', so you have to check that one:
named-checkzone 0.142.10.in-addr.arpa /var/named/zones/0.142.10.in-addr.arpa.db
answered yesterday
Harm
662
662
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481518%2fbind-reverse-dns-ignoring-out-of-zone-data%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
I'm not sure I know what you mean? I'm not currently loading it anywhere, since it doesn't work in the test.
– Chris
yesterday
0.0.10.in-addr.arpa
should probably have a.
after the "arpa" -0.0.10.in-addr.arpa.
– ivanivan
yesterday
Added the
.
and no change. Updating question.– Chris
yesterday
I am not loading it into named.conf yet. I am testing it with named-checkzone before adding it to named.conf because I don't want it loading a broken zone. Is there another portion of named.conf that would help?
– Chris
yesterday