03-20-2013
Are you sending zone files by sneaker-net? I am not sure why you need to worry about them.
I would worry about the master and slave being on different revisions, but it would be nice if the were cross-compatible, if only for robust upgrades, where you update one and let it run for a while before deciding you like it enough to revise the other. Still, shut down old both places, start up new, do a zone transfer and life goes on.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Good morning/afternoon/evening all!
I often get the following line in my /var/log/messages file:
Mar 27 07:01:33 gateway named: denied update from .1261 for "mydomain.net" IN
I have FreeBSD 4.4 and have a DNS server running which seems to work fine except for this message.
Has anyone... (3 Replies)
Discussion started by: Ivo
3 Replies
2. Solaris
Hi,
I have two Solaris machines.
1. SunOS X 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500
2. SunOS Y 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60
I am trying to buiild a project on both these machines. The Binary output file compiled on machine 2 runs on both the machines. Where... (0 Replies)
Discussion started by: scgupta
0 Replies
3. IP Networking
Hope I can explain my problem well enough.
I have a DNS server that I'm wanting to replace with an older system. I configured this system exactly the same way as an older system running FreeBSD 6.3.
Here's the problem. Within the network, its working perfectly: performing queries, all the... (2 Replies)
Discussion started by: Alpha_Harblo
2 Replies
4. UNIX for Advanced & Expert Users
I'd like to get some opnions on choosing DNS server:
Windows DNS vs Linux BIND comparrsion:
1) managment, easy of use
2) Security
3) features
4) peformance
5) ??
I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies
5. IP Networking
Hello all,
I have configured Freebsd 8.1 Bind DNS as DNS server for intrenal domain and clients on one subnet 192.168.10.0/24 . What do I have to change in zone file and in in-addr.arpa zone file if I have two additional subsets 192.168.20.0/24 and 192.168.30.0/24? Do I have to create another... (0 Replies)
Discussion started by: kreno
0 Replies
6. UNIX for Dummies Questions & Answers
I am using grep to match a pattern, but the output is strange.
$ grep -r -o "pattern" *
Gives me:
Binary file foo1 matches
Binary file foo2 matches
Binary file foo3 matches
To find the lines before/after, I then have to use the following on each file:
$ strings foo1 | grep -A1 -B1... (0 Replies)
Discussion started by: chipperuga
0 Replies
7. Red Hat
I am trying to setup a CentOS 6.2 server that will be doing 3 things DHCP, DNS & Samba for a very small office (2 users). The idea being this will replace a very old Win2k server. The users are all windows based clients so only the server will be Linux based.
I've installed CentOS 6.2 with... (4 Replies)
Discussion started by: FireBIade
4 Replies
8. Shell Programming and Scripting
I am struck up with a problem and that is with output redirection.
I used all the ways for the redirection of the output of c binary to a file, still it is failing.
Here are the different ways which I have used:
./a.out | tee -a /root/tmp.txt 2>&1
./a.out | tee -a /root/tmp.txt 1>&1
./a.out |... (2 Replies)
Discussion started by: Maya29988
2 Replies
9. Shell Programming and Scripting
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies
10. Solaris
Hi,
We have built a new server (RHEL VM)and added that IP/hostname into dns zone configs file on DNS server (Solaris 10). Reloaded the configuration using
and added nameserver into resolv.conf on client. But when I am trying nslookup, its not getting resolved. The nameserver is not able to... (8 Replies)
Discussion started by: snchaudhari2
8 Replies
NSDC(8) NSDC 3.2.12 NSDC(8)
NAME
nsdc - Name Server Daemon (NSD) control script.
SYNOPSIS
nsdc [-c configfile] start | stop | reload | rebuild | restart | running | update | notify | patch
DESCRIPTION
Nsdc is the shell script that used to control nsd(8) and zonec(8) from NSD distribution. Nsdc is also suitable to be linked into /etc/rc.d
directory on BSD like systems for automatic startup of nsd(8) at boot time.
At every invokation, nsdc will try to read the nsd.conf(5) configuration file. An example of such configuration file is distributed with
the NSD package as nsd.conf.sample. The config file is checked for errors before it is used, see nsd-checkconf(8).
Possible nsdc applications are:
start Start nsd(8).
stop Shut down nsd(8) by sending SIGTERM to it.
reload Initiate nsd(8) name space database reload by sending SIGHUP.
rebuild
Rebuild the nsd(8) database by invoking zonec(8) with appropriate arguments.
restart
Restart nsd(8). This equals to nsdc stop && nsdc start.
running
Check whether nsd(8) is running. Returns error message and error code if it is not running, and no message and zero error code oth-
erwise.
update Updates all the slave zones which have allow-notify: from localhost (127.0.0.1 or ::1) allowed. If a TSIG key is specified for the
allow-notify statement in the config file, it will be used to secure the notify. Note that NSD keeps track of zone timeouts automat-
ically, this is only needed if you want to manually force updates by sending notify messages to the localhost.
Another method you can use is to stop nsd, delete the xfrd.state file and then start nsd again. It will try to update all zones.
This method does not require allow-notify: statements.
notify Sends notify messages to all the slaves for all the zones that have the notify: keyword in the nsd.conf file. If a TSIG key is spec-
ified for a notify statement, it will be used to secure the notification message to that slave server.
patch Merge zone transfer changes back to zone files. It reads in the nsd database (nsd.db) and difffile (ixfr.db), and overwrites the
zone text files if they have been updated. Running this regularly ensures that the difffile does not grow infinitely. If any zone
text files have been changed (including those of the master zones), the nsd.db is rebuild and nsd is reloaded.
OPTIONS
-c configfile
Specify configfile to use instead of the default /etc/nsd3/nsd.conf.
FILES
/etc/nsd3/nsd.conf
Configuration file for nsd to change default pathnames and NSD flags. The zone names, pathnames to zone files and access control
lists are also in nsd.conf(5).
/var/lib/nsd3/nsd.db
default NSD database
/var/lib/nsd3/nsd.db.lock
Lockfile for the NSD database access by operator tools.
/var/lib/nsd3/ixfr.db
Journal of zone transfers, the diff file containing the new zone contents transferred.
/var/lib/nsd3/xfrd.state
State for the zone transfer process of NSD. Contains timeouts for the zones and whether zones are expired.
/var/run/nsd3/nsd.pid
the process id of the name server.
DIAGNOSTICS
Nsdc will return zero return code if operation was successful and an error message to standard output plus a non-zero return code other-
wise.
SEE ALSO
nsd(8), nsd.conf(5), nsd-checkconf(8), nsd-notify(8), nsd-patch(8), nsd-xfer(8), zonec(8)
AUTHORS
NSD was written by NLnet Labs and RIPE NCC joint team. Please see CREDITS file in the distribution for further details.
BUGS
Syntax checking of the config file is rudimentary and error messages may be wrong. If you do a nsdc patch, whilst a (long) zone transfer is
busy, the zone transfer contents will be partially lost. After a reload, this will be detected and the zone transfer should be restarted.
The reload that happens at the end of nsdc patch also frees up memory churn in NSD caused by zone transfers.
NLnet Labs jul 19, 2012 NSDC(8)