Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #193559

Re: dnsmasq and SOA

From Jacques Rodary <rodaryj@free.fr>
Newsgroups linux.debian.user
Subject Re: dnsmasq and SOA
Date 2018-03-09 18:30 +0100
Message-ID <vru09-854-3@gated-at.bofh.it> (permalink)
References (1 earlier) <vqODE-5Fx-11@gated-at.bofh.it> <vqZz3-4EM-5@gated-at.bofh.it> <vr7ZE-1w8-13@gated-at.bofh.it> <vrg6R-72t-3@gated-at.bofh.it> <vrkNb-1WT-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 09/03/2018 08:32, Reco wrote:
> 	Hi.
>
> On Fri, Mar 09, 2018 at 03:34:27AM +0100, Jacques Rodary wrote:
>
>> ;; AUTHORITY SECTION:
>> rodary.net.             600     IN      NS      .
>> rodary.net.             600     IN      NS      ns6.gandi.net.
Here is my new dnsmasq.conf:
     no-dhcp-interface=enp2s0
     auth-server=ns.rodary.net,88.170.1.143
     auth-zone=rodary.net
     auth-soa=2018022800,root.ns.rodary.net,10800,3600,10800
     auth-sec-servers=ns6.gandi.net
     dhcp-range=10.42.0.20,10.42.0.200,infinite
I added the auth-server line, and "dig in soa rodary.net" gives:
     ;; ANSWER SECTION:
     rodary.net.             600     IN      SOA     ns.rodary.net. 
root.ns.rodary.net. 2018022801 10800 3600             10800 600
     ;; AUTHORITY SECTION:
     rodary.net.             600     IN      NS      ns.rodary.net.
     rodary.net.             600     IN      NS      ns6.gandi.net.
     ;; Query time: 0 msec
     ;; SERVER: 88.170.1.143#53(88.170.1.143)
which means ns.rodary.net is SOA of my zone and ns6.gandi.net is slave 
server. Without master server the root zone "." servers were 
authoritative for my zone (as they are for all zones).
>> Hate to break it to you, but it seems to fail for everyone else.
>> Today "dig in soa rodary.net" gives me SERVFAIL.
Tell me please if it works now.
>> and even if I don't quite understand why "." (the root) is my secondary
>> server, I suppose it means  I succeeded to have my host as a stealth server!
> I believe that it means that somehow you're announcing authority on root
> domain. I would advise against it.
No, root servers announced authority on rodary.net, since nobody else 
delegated this authority.
>> I don't understand quite well how NetworkManager works.
> I don't understand it either, but frankly I don't need to. IP adresses,
> routing table and packet flow are the state of the kernel. Using
> always-running userland tool for their configuration *may* be
> appropriate in certain cases (DHCP, anyone?), but for your typical
> server environment such cases do not apply.
> That said, for your typical server environment nothing beats ifupdown.
> So my advice is - if you need a predictable behaviour - you exterminate
> NetworkManager, connman and other fancy toys, and stick to the ifupdown,
> or maybe systemd-networkd.
I may do that soon. Thanks for your precious help.
     Jacques

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Issues while installing Debian 啊肥坚lolz <rex12425@gmail.com> - 2018-02-19 18:10 +0100
  Re: Issues while installing Debian Hans <hans.ullrich@loop.de> - 2018-02-19 18:10 +0100
  Re: Issues while installing Debian Raju Devidas <rajudev@disroot.org> - 2018-02-19 19:00 +0100
  dnsmasq and SOA RODARY Jacques <rodaryj@free.fr> - 2018-02-28 01:30 +0100
    Re: dnsmasq and SOA Reco <recoverym4n@gmail.com> - 2018-02-28 06:50 +0100
      Re: Re: dnsmasq and SOA RODARY Jacques <rodaryj@free.fr> - 2018-03-01 02:10 +0100
        Re: Re: dnsmasq and SOA Reco <recoverym4n@gmail.com> - 2018-03-01 07:40 +0100
          Re: dnsmasq and SOA Curt <curty@free.fr> - 2018-03-02 22:00 +0100
            Re: Re: dnsmasq and SOA RODARY Jacques <rodaryj@free.fr> - 2018-03-06 03:00 +0100
              Re: Re: dnsmasq and SOA Reco <recoverym4n@gmail.com> - 2018-03-06 07:30 +0100
          Re: Re: Re: dnsmasq and SOA RODARY Jacques <rodaryj@free.fr> - 2018-03-07 22:20 +0100
            Re: Re: Re: dnsmasq and SOA Reco <recoverym4n@gmail.com> - 2018-03-08 10:00 +0100
              Re: dnsmasq and SOA Jacques Rodary <rodaryj@free.fr> - 2018-03-08 19:00 +0100
                Re: dnsmasq and SOA Jacques Rodary <rodaryj@free.fr> - 2018-03-09 03:40 +0100
                Re: dnsmasq and SOA Reco <recoverym4n@gmail.com> - 2018-03-09 08:40 +0100
                Re: dnsmasq and SOA Jacques Rodary <rodaryj@free.fr> - 2018-03-09 18:30 +0100
                Re: dnsmasq and SOA Reco <recoverym4n@gmail.com> - 2018-03-09 19:30 +0100

csiph-web