Solved

adding NS servers to named

Posted on 2014-03-08
6
226 Views
Last Modified: 2014-03-09
hello there,
how can I adding NS servers to named.?

dns
0
Comment
Question by:XK8ER
6 Comments
 
LVL 15

Expert Comment

by:Phonebuff
ID: 39915395
Well,  

 I think you want to edit the definition files in /etc/namedb/............................

An add you data, change the serial No,  then reload named..

But you really don't give much to go on, like what OS you on and exactly what it is you are trying to do ?

---------------
0
 
LVL 1

Author Comment

by:XK8ER
ID: 39915398
like for example I have "domain.com.db"
but I want to create a new one with different NS
so shall I create something like "games.domain.com.db"
and add custom different NS ?
0
 
LVL 77

Expert Comment

by:arnold
ID: 39915442
First, you must register the new NS with your Domain registration service.
whois domain.com.  See who the registrar is. and then go through their interface to register the NS.domain.com with IP x.y.z.a
Then make sure the named instance on this server is functional and has the current configuration (presumably you have a master slave setup) Or are you using named with mysql backend?

Given you mentioned a flat file, Once you've confirmed the data is present, updates show up.
AS was pointed out, edit /var/named/domain.com.db update serial (increment by one, or change the data to yyyymmddii where ii is an index allowing for 100 changes per day.  Using the date format provide for simpler diagnostic.  

host -C domain.com will return the date/index when the last change was made.

add
    IN NS newns.domain.com.

all the NS servers will be notified of the change. If you have a master/slave, the change will trigger an update.
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 1

Author Comment

by:XK8ER
ID: 39915445
arnold, all db files need to have a different serial number right?
0
 
LVL 28

Expert Comment

by:Jan Springer
ID: 39915816
the master *may* signal an update if notify is turned on.  the slave only receives the update.

the serial number *may* be the same in all files.  but when a change is made to the file, the serial number should be "serial number + 1".  this change is only made to the file that needs to be updated.
0
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 39915841
The serial is used to differentiate the version/data within a file.  Making a change in one zone/domain does not mean that you need to update any other with exception of the reverse I.e. The IP record.

You can have domain.com, domain1.com, domain2.com.

Depending on your setup .... Is your setup is such that every Named server is an independent setup with their own DB file?

Usually, you would have a setup such as master1, master2 (initially master2 is a subordinate/secondary of master 2) with all other named instance configured as secondaries of both master1 and master2 (in named.conf your zone will have masters{master1; master2;};


Zone "domain.com" {
       Type slave;
        File "domain.com";
        Masters { master1;master2;};
};


This way a change on master 1 will generate a notify event which expires the zone on those a systems and triggers the re synchronization of data.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now