Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-05-2004, 05:53 AM   #1
LQ Newbie
Registered: May 2004
Posts: 12

Rep: Reputation: 0
DNS named.conf master/slave question

Hello dudes!

I'm setting up a DNS.

This dns works as slave to get the names of a domain

This is the zone ...

zone "" {
type slave;
masters {; };
file "";

So every X time my get updated by new file from server with some new machines.

I want to add some machines to this sub.domain, but if i add to this file in some hours the file is overwritten by master DNS. I dont have permissions to the master DNS server (who sends me the file...)

There is any way to add a new zone or modify this zone to search first at a file where i add my machines?

at file i add my new machines.

i tryed to do something like this, but doesn't work. This solution only find the machines described at the first zone. the second zone always is ignored...

zone "" {
type master;
file "";

zone "" {
type slave;
masters {; };
file "";

Other solution? Is possible to make a link from a file to file???

Tx for your help.
Old 11-05-2004, 12:34 PM   #2
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
You can't hijack a zone that you don't own. If the master name server delegated a sub-domain to you, you could create your own master zone for that sub-domain, but you can't arbitrarily add names to a zone for which you're not the master.
Old 11-09-2004, 02:59 AM   #3
LQ Newbie
Registered: May 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Tx for your answer chort .

Maybe I should make a different question.

I have some machines that 1 want to add to a DNS. I don't have the authority to add them.

# premises

- Everybody uses a DNS-server1 that is the master.
- My group of machines uses a DNS-server2 that is slave of DNS-server1.
- My group of machines uses a subnet -- subdomain:
- The names I want to add, only must be resolved by machines of my subnet that uses DNS-server2
- DNS-server1 doesn't need to resolve names because everybody machines don't need to.

- There is a zone owned by master called that resolves some ip of this subdomain

- I want to add a new zone or do something to the DNS-server2 (which I admin an i can create zones) to resolve ip and names of my subnet.

There is any way to make a zone to check 2 files? Check a file and if no match, find at other file?

Thanks 4 your time again.
Old 11-09-2004, 07:57 AM   #4
Registered: Sep 2004
Location: Texas, USA
Distribution: Fedora
Posts: 620

Rep: Reputation: 31
As chort mentioned in his reply - In order for you to meet your stated requirements, you're only option is to have the primary DNS server delegate SOA for to your name server. Then you could add/delete records for the zone.
Old 11-09-2004, 10:10 AM   #5
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
If the "group of machines" will query your "slave" server for information about the zone, then I suppose you could just set it to be type master.
This way your server will not pick up information from the "real" master any more and your clients will see your zone entries.
Old 11-12-2004, 05:50 AM   #6
LQ Newbie
Registered: May 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Another question.

If i can set up a zone slave or forward, which is best?

I suppose slave helps to resolve ip a little faster than forward, isn't it?

There are other advantages or disadvantages at slave vs forward?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
openldap replication master/slave slapd.conf paul_mat Linux - Networking 1 11-30-2005 02:54 PM
Master/Slave server DNS emailssent Linux - Networking 2 10-04-2004 04:21 AM
Tranferring Zones, Master to Slave, DNS - BIND newpylong Linux - Networking 0 09-02-2004 09:01 AM
DNS Slave not getting zones from master tysonh04 Fedora 1 06-06-2004 06:10 PM
dns master slave trust relationship how? ferret_dude Linux - Networking 1 05-24-2004 07:05 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration