LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-04-2022, 11:15 AM   #16
vinmansbrew
Member
 
Registered: Feb 2016
Posts: 195

Original Poster
Rep: Reputation: Disabled

I just went through and re-wrote it. Seems to run through ok.

I do keep finding little things here and there. But I think I am close to the end.

Last thing is the old server allowed a person to ssh, then run co -l "zone file", and the file would allow that person edit it. They had to be part of the named group, to do so.
I am on the fence if I want to keep it that way, or require the editor to sudo the command. However, I am not where to make this change. I have to named group, with the, currently 2 people, set up.
Currently, I get this error:
co: RCS/zone,v: user not on the access list

As I said, I'm on the fence, but even if I don't go the old route, I'd still like to know where I would change this. I'll probably find it, sooner or later! Doesn't hurt to know.
 
Old 11-15-2022, 02:55 PM   #17
vinmansbrew
Member
 
Registered: Feb 2016
Posts: 195

Original Poster
Rep: Reputation: Disabled
So, I have made headway. I found part of my issue was the named service. On rhel, it seems better to run named-chroot, instead of just named.
Once I found that out, I was able to clear up most issues.

Now, when I make a change on the new master, it propagates down to the slaves, as it should.
The only error I seem to be running into, and it isn't much of an error, is this:

Named: zone dnszone.con/IN: refused to notify from non-master: xxx.xxx.xxx.xxx

So, essentially, it appears that 1 slave, is refusing something from the other slave. It isn't affecting the operation, otherwise. The other slave(which is an older slave that will be put to rest) does not have this error, only the new slave. I went into the named.conf and added the old slaves IP, to the "allow-notify".
The old slave does not get this error, nor does it have the new slave"s IP under "allow-notify".

So, I'm not sure what is causing this. Even if it isn't affecting operation, I'd still prefer to have no errors.

As a refresh, the old slave is rhel 6.10. The new slave is rhel 8.6.
 
Old 11-15-2022, 03:29 PM   #18
elgrandeperro
Member
 
Registered: Apr 2021
Posts: 415
Blog Entries: 2

Rep: Reputation: Disabled
The rule is if it is listed as a NS server, the master will send notify to the slave when serial changes. Then the slave "gets" the zone, it is allowed by default.

But if the it isn't listed as a NS server, the master (or stealth slave to slave) must have a also-notify to send it. And the master (or slave) must have a allow-transfer to allow the transfer.
 
Old 11-30-2022, 11:02 AM   #19
vinmansbrew
Member
 
Registered: Feb 2016
Posts: 195

Original Poster
Rep: Reputation: Disabled
Ok, so I decided to start from scratch. Sometimes you just have to.
So, I got things A little further along. I now have a different error. I receive a "client @0x7stringofcharacters : query (cache) example.com/a/IN denied"

In my named.conf, I tried to change the "allow-query". First by changing it to "trusted-servers" then by # it out.
Perhaps I need to add an entry called "allow-query-cache" or similar?
 
Old 12-01-2022, 03:20 PM   #20
elgrandeperro
Member
 
Registered: Apr 2021
Posts: 415
Blog Entries: 2

Rep: Reputation: Disabled
allow-query-cache is a newer concept, but probably should never be used by normal users.
Your default should be allow-query {any;}; and for the your internal nets like allow-recursion that want to recurse.

If it is a mastered zone, it must be allow-query any. allow-recursion is your trusted users if you are serving them (this might or might not be the case).


https://kb.isc.org/docs/aa-00503
 
  


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
LXer: Doggo Is A DNS Lookup Utility With Colorful Output, DNS-overTLS and DNS-over-HTTPS Support LXer Syndicated Linux News 0 04-07-2021 02:30 AM
setup for official Laptop. (Admin setup in server and user account setup in lap) vignesh4sh Linux - Server 3 11-26-2012 07:03 AM
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-27-2012 11:50 PM
Before setup DNS and after DNS question sportivo888 Linux - Enterprise 7 12-13-2009 09:47 PM
Win2k3 DNS + PFsense DNS Forwarder = No internal DNS resolution Panopticon Linux - Networking 1 11-19-2007 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:35 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