Named - Auto Gen Records from two Zones?

Under the settings for a specific zone is it possible using the ‘Automatically Generate Records From Zone’ option to update from two other different zones?

Also, the ‘Automatically Generate Records…’ option, I can’t seem to find where it exists in named.conf or other file. I have it checked in Yast but I can’t find that option reflected in a config file - which I would assume it would have to be… somewhere.

Thanks!

On Wed December 8 2010 10:36 am, dspender wrote:

>
> Under the settings for a specific zone is it possible using the
> ‘Automatically Generate Records From Zone’ option to update from two
> other different zones?
>
> Also, the ‘Automatically Generate Records…’ option, I can’t seem
> to find where it exists in named.conf or other file. I have it checked
> in Yast but I can’t find that option reflected in a config file - which
> I would assume it would have to be… somewhere.
>
> Thanks!
>
>
dspender;

ASFAIK there is no option ‘Automatically Generate Records From Zone’. See:
man named.conf. Perhaps you should explain just what you are trying to
accomplish. It is certainly possible to import zone files from other DNS
servers (slave zone) or have dhcpd update multiple DNS servers (DDNS).

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Sorry i should have specified specifically that I did initial setup with Yast.

I have two local zones setup xxx.com and yyy.com both having addresses in the same 1.10.in-addr.arpa range. In Yast I can only pick one or the other to automatically generate the reverse lookup zone. Under ‘Automatically Generate Records from Zone’ there is a drop down and you can just pick one of your zones there not two or more.

This seems to be in the ascii yast not the gui. But when I configure that setting, I can’t figure out what config file it writes it to. I figured if I could find it in the conf file I could probably edit it manually to include two zones.

http://i55.tinypic.com/511rua.jpg

Logically you cannot have two reverse mappings for one IP address to domain name, even if the IP address is in a private range. So you have to choose one or the other.

On Thu December 9 2010 07:36 am, dspender wrote:

>
> Sorry i should have specified specifically that I did initial setup with
> Yast.
>
> I have two local zones setup xxx.com and yyy.com both having
> addresses in the same 1.10.in-addr.arpa range. In Yast I can only pick
> one or the other to automatically generate the reverse lookup zone.
> Under ‘Automatically Generate Records from Zone’ there is a drop down
> and you can just pick one of your zones there not two or more.
>
> This seems to be in the ascii yast not the gui. But when I configure
> that setting, I can’t figure out what config file it writes it to. I
> figured if I could find it in the conf file I could probably edit it
> manually to include two zones.
>
> [image: http://i55.tinypic.com/511rua.jpg]
>
>
dspender;

I’ve never used YaST to configure bind9, But I assume if the zone statements
are not in /etc/named.conf they are in the directory /etc/named.d. The
contents of that directory are placed in the include file of /etc/named.conf.
The actual zone data files are most likely in /var/lib/named or one of it’s
subdirectories /dyn, /master or /slave.

Be sure to see Ken Yap’s post, but if xxx.com and yyy.com are in different
subnets, say 10.1.0/24 and 10.1.1/24 you could create two “in-addr.arpa”
zones “0.1.10.in-addr.arpa” and “1.1.10.in-addr.arpa”

There is some documentation on how OpenSuse sets up the DNS server in:
/usr/share/doc/packages/bind

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Thanks for the tips. I will try and track it down. As for Ken’s statement, I have yyy.xxx and zzz.xxx and they both have entries resolving to 10.1.1.x addresses but they are separate (and different entries). I just thought it would be neat to auto gen the reverse lookup zone when an A Record is created in eitherone of the zones… otherwise it will auto gen from one of the zones but I will have to create the other entry manually.

Not a big deal, but it just seemed like it should be possible.

Thanks again.

Only one of the reverse zones will actually be used anyway.