Thx for answer.

вт, 16 окт. 2018 г., 2:34 Simon Kelley <si...@thekelleys.org.uk>:

> 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 Алексей Кузнецов
> > <kuznetsovalexe...@gmail.com <mailto:kuznetsovalexe...@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 <pemen...@redhat.com
> >     <mailto:pemen...@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@lists.thekelleys.org.uk
> >         <mailto:Dnsmasq-discuss@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: pemen...@redhat.com <mailto:pemen...@redhat.com>  PGP:
> >         65C6C973
> >
> >         _______________________________________________
> >         Dnsmasq-discuss mailing list
> >         Dnsmasq-discuss@lists.thekelleys.org.uk
> >         <mailto:Dnsmasq-discuss@lists.thekelleys.org.uk>
> >         http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> >
> >
> >
> > _______________________________________________
> > Dnsmasq-discuss mailing list
> > Dnsmasq-discuss@lists.thekelleys.org.uk
> > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> >
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss@lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to