?
Solved

adding NS servers to named

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

dns
0
Comment
Question by:XK8ER
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 79

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
Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

 
LVL 1

Author Comment

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

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 79

Accepted Solution

by:
arnold earned 2000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

719 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