LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-16-2019, 12:32 AM   #1
jandoe
LQ Newbie
 
Registered: Jan 2019
Posts: 2

Rep: Reputation: Disabled
BIND 9.11 & Webmin - Transfer of Zone IN View refused (NOTAUTH)


Hi

Maybe someone could help me..

I try to setup bind 9.11 with webmin as DNS with different views for two networks.

Default zones 0, 127, 255, localhost (all In view called "ViewRoot" - Default) can transfer without problems to my slave Host (same Bind and Webmin version).

New Master Zone blubb.lan (In view "View172" - limited to 172.20.76.0/22) cannot transfer to slave host:

Logs on master:
15-Jan-2019 11:54:45.164 xfer-out: info: client @0x7fc5200f30b0 172.20.76.8#36991 (blubb.lan): view ViewRoot: bad zone transfer request: 'blubb.lan/IN': non-authoritative zone (NOTAUTH)

Logs on slave:
Jan 15 11:22:09 webmin-slave named[1220]: zone blubb.lan/IN/View172: refresh: non-authoritative answer from master 172.20.76.7#53 (source 0.0.0.0#0)

Can anyone help me? Thanks in advance!

Jan


named.conf.local
Quote:
view "ViewRoot" {
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
also-notify {
172.20.76.8;
};
allow-transfer {
172.20.76.8;
};
};
zone "255.in-addr.arpa" {
[...]
view "View172" {
match-clients {
172.20.76.0/22;
};
zone "blubb.lan" {
type master;
file "/etc/bind/blubb.lan.172.hosts";
also-notify {
172.20.76.8;
};
allow-transfer {
172.20.76.8;
};
notify yes;
allow-query {
172.20.76.8;
};
check-names ignore;
};
};
 
Old 01-16-2019, 03:01 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Logs on master:
15-Jan-2019 11:54:45.164 xfer-out: info: client @0x7fc5200f30b0 172.20.76.8#36991 (blubb.lan): view ViewRoot: bad zone transfer request: 'blubb.lan/IN': non-authoritative zone (NOTAUTH)
According to the logs above, looks like the secondary is trying to transfer the zone blubb.lan from master's view ViewRoot (the 1st view), and the master respond that it's not authoritative for that zone in that view.
This is typical when you use views and try to update zones between master-slave without using keys.

I don't know how webmin dns setup works, but you can take a look here to see what you have to do in bind config. Then configure webmin accordingly.


Regards
 
Old 01-16-2019, 05:31 AM   #3
jandoe
LQ Newbie
 
Registered: Jan 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi bathory,

thank you very much for the tipp. You pushed me into the right direction.
First, i had to understand that for the transfer of the records, the view has to be matched by the slave. My View172 is limited to 172.20.76.0/22, so the slave has to start the transfer from an ip within 172.20.76.0/22.

My next problem was the order of the views. First view in /etc/bind/named.conf.local was "ViewRoot" without limitation to clients. So my connection from the slave was routed to ViewRoot everytime. I have changed the order of views and now it works.

Best regards
Jan

Quote:
Originally Posted by bathory View Post
According to the logs above, looks like the secondary is trying to transfer the zone blubb.lan from master's view ViewRoot (the 1st view), and the master respond that it's not authoritative for that zone in that view.
This is typical when you use views and try to update zones between master-slave without using keys.

I don't know how webmin dns setup works, but you can take a look here to see what you have to do in bind config. Then configure webmin accordingly.


Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I find file zone in the slave zone to the do a transfer of zone from Windows Server 2012 as master dns and CentOS as slave DNS. To learn Linux - Newbie 1 09-02-2016 09:36 AM
Bind for remote zone over VPN - reject the client zone benjalien Linux - Server 1 01-08-2015 03:59 PM
Which zone bind dns work either in forward zone are reverse zone sanjay87 Linux - Server 2 06-05-2012 04:21 AM
BIND forward zone OK, reverse zone NOT OK! n03x3c Linux - Server 2 11-05-2008 10:31 PM
why is bind updating reverse zone with updating zone 202.1.168.192.1.168.192.in-addr marcobjorge Linux - Networking 5 10-12-2008 04:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration