oh yeah you will have to adjust the flags for each daemon (to accept a
different
config file for each dns server in each Rdomain...

hope this helps...


On Wed, 27 May 2020 at 23:35, Tom Smyth <tom.sm...@wirelessconnect.eu>
wrote:

> howdy,
>
> you can use symbolic links for /etc/rc.d/nsd   to /etc/rc.d/nsd1
> and to    /etc/rc.d/nsd2  to  /etc/rc.d/nsdn  where 1,2 n are your  r
> domains for your
> dns servers (authoritive) or you can use unbound instead of nsd
>  if it is just a forwarding  dns server
>
> then use  for a dns server for rdomain1
> rcctl enable nsd1
> rcctl set nsd1 rtable=1
>
> repeat the procedure for each domain configured
> rcctl enable nsd2
> rcctl set nsd2 rtable=2
>
> then go back to rdomain0
> route -T0 exec ksh
> and then run the following to start each of your daemons
>
> rcctl start nsd1
> rcctl start nsd2
>
> and so on and so fourth...
>
> I used to have issues starting and stopping daemons if I was not in
> the correct domain when running the rcctl command,
> I saw a diff by  ajacoutot   a few months / (years ago that might have
> fixed the rcctl starting domains from a shell in a different
> Rdomain...
> I just got into the habit...  of going to the correct rdomain of the
> daemon or rdomain0 before running the rcctl command to start / stop or
> restart the daemon
>
> Hope this helps,
>
> Tom Smyth
>
>
> On Wed, 27 May 2020 at 23:24, James <ja...@jmp-e.com> wrote:
> >
> > Hi all,
> >
> > How can I allow different rdomains to use separate DNS nameservers?
> >
> > Thanks
> >
>
>
> --
> Kindest regards,
> Tom Smyth.
>


-- 
Kindest regards,
Tom Smyth.

Reply via email to