[Dnsmasq-discuss] multiple soa
Simon Kelley
simon at thekelleys.org.uk
Mon Oct 15 23:57:07 BST 2018
I have to confess I never considered this as a valid possibility, but to
does make sense, maybe.
The sane, backward-compatible way to do it might be to extend the syntax
of auth-soa, to allow a zone name to be included, so your second
auth-soa line would become
auth-soa=sub.mobile-test.ru,2018101101,sub.mobile-test.example.ru,120,120,604800
So, no, you can't do this with the existing code, sorry. It's a possible
future enhancement.
Cheers,
Simon.
On 15/10/18 20:43, Алексей Кузнецов wrote:
> no chance?
>
> On Thu, Oct 11, 2018 at 7:08 PM Алексей Кузнецов
> <kuznetsovalexey34 at gmail.com <mailto:kuznetsovalexey34 at gmail.com>> wrote:
>
> # My zones and their subnets
> auth-zone=mobile-test.example.ru <http://mobile-test.example.ru>
> auth-zone=ns1.mobile-test.example.ru <http://ns1.mobile-test.example.ru>
>
>
> # SOA config
> auth-soa=2018101101,mobile-test.example.ru
> <http://mobile-test.example.ru>,120,120,604800
>
> # Slave NS: nameserver2.provider.com
> <http://nameserver2.provider.com> (50.60.70.80)
> # Secondary NS (slave NS at IT)
> auth-sec-servers=msk-dc1.example.ru <http://msk-dc1.example.ru>
> auth-sec-servers=msk-dc2.example.ru <http://msk-dc2.example.ru>
> auth-sec-servers=msk-dc3.example.ru <http://msk-dc3.example.ru>
> auth-sec-servers=msk-DC1.example.ru <http://msk-DC1.example.ru>
> auth-sec-servers=msk-DC2.example.ru <http://msk-DC2.example.ru>
> auth-sec-servers=msk-DC3.example.ru <http://msk-DC3.example.ru>
> # Allow zone transfers to secondary NS
> auth-peer=172.17.8.75
> auth-peer=172.17.8.74
> auth-peer=172.17.8.7
>
> # Authoritative DNS on interface eth0
> auth-server=ns1.mobile-test.example.ru
> <http://ns1.mobile-test.example.ru>,ens160
>
> If i add these lines
> auth-zone=sub.mobile-test.example.ru <http://sub.mobile-test.example.ru>
> auth-soa=2018101101,sub.mobile-test.example.ru
> <http://sub.mobile-test.example.ru>,120,120,604800
> i have error
> dnsmasq[10843]: dnsmasq: syntax check OK.
> dnsmasq[10847]: dnsmasq: illegal repeated keyword at line 29 of
> /etc/dnsmasq.d/dnsmasq.conf
>
> line 29 is auth-soa=2018101101,sub.mobile-test.example.ru
> <http://sub.mobile-test.example.ru>,120,120,604800
>
> On Wed, Oct 10, 2018 at 1:40 PM Petr Mensik <pemensik at redhat.com
> <mailto:pemensik at redhat.com>> wrote:
>
> Second soa in one zone cannot be added. One zone has one soa.
> Can you
> please share relevant configuration parts?
>
> On 10/09/2018 11:46 AM, Алексей Кузнецов wrote:
> > Hello, i set zone with soa record and its work fine. I want
> add second soa
> > zone but dnsmasq say dublicate options in config. How to add
> second soa?
> >
> >
> >
> > _______________________________________________
> > Dnsmasq-discuss mailing list
> > Dnsmasq-discuss at lists.thekelleys.org.uk
> <mailto:Dnsmasq-discuss at lists.thekelleys.org.uk>
> > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> >
>
> --
> Petr Menšík
> Software Engineer
> Red Hat, http://www.redhat.com/
> email: pemensik at redhat.com <mailto:pemensik at redhat.com> PGP:
> 65C6C973
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> <mailto:Dnsmasq-discuss at lists.thekelleys.org.uk>
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20181015/fb4c89f8/attachment-0001.sig>
More information about the Dnsmasq-discuss
mailing list