Questions tagged [rndc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5 votes
5 answers
29k views

Fixing BIND9 rndc error "connection to remote host closed"

I just made some changes to a DNS zone in Webmin and clicked the "Apply Changes" button. I received the error message: rndc: connection to remote host closed This may indicate that the remote ...
6 votes
3 answers
38k views

Where BIND9 saves its cache?

On Ubuntu 12.04 I installed BIND9 via apt-get install. I configure the server in a very simple way and it works in name resolution. Now I'm curious to read (if it's possible) its cache. Reading the ...
-2 votes
1 answer
2k views

BIND9 sends notify to slave only with also-notify

I have a problem that has been driving me crazy for three days! I'm replacing my Authoritative DNS servers with new ones and then I'm resetting all BIND9 configurations again to do a bit more "...
1 vote
1 answer
2k views

rndc commands not working

I have been building DNS servers on centos 7 (i inherited the these but need to make changes to repurpose them) When I run the any rndc command it does not work i.e. when i try rndc reload i get no ...
1 vote
2 answers
731 views

Bind on Windows Server 2k8; rndc reload fails for no obvious reason

I'm trying to install Bind 9.9 on Windows Server 2008, but calling "rndc reload" fails with a very strange error message: PS C:\bind\etc> ..\bin\rndc.exe reload rndc: error: C:\bind\etc\rndc.conf:...
2 votes
4 answers
22k views

rndc: 'reload' failed: not found

I would appreciate help on this. I tried myself, see below. cp 40.129.98.db 40.234.173.db nano 40.234.173.db (modified IP in the file to reflect 173 IP, updated SERIAL) named-checkzone /var/named/...
0 votes
1 answer
339 views

rndc: 'flushtree' failed: unknown command

I'm very new to learning and administering DNS with BIND9 under FreeBSD. I find myself in a unique situation where I'm having an error administering the flushtree command with rndc. I'm not sure if ...
3 votes
2 answers
14k views

Bind master doesn't sync to slave

I got handed an old Bind system at work, and the zones on the master doesn't sync to the slave. I'm a noob at bind, and could really use the help. I would like all changes made on the MASTER to sync ...
0 votes
1 answer
954 views

bind9: rndc freeze: key redefined?

I have this rnd.key file on my system: key "rndc-key1" { algorithm hmac-md5; secret "xxxxxxxxxxxxxxx=="; }; key "rndc-key2" { algorithm hmac-md5; secret "yyyyyyyyyyy=="; }; ...
1 vote
3 answers
2k views

Bind get zone transfer status after executing rndc reload <zonename>

I have a script that executes rndc reload <zone_name> in <view_name> on secondary (slave) servers on the zones that are modified. This command returns success if the reload is queued ...
0 votes
2 answers
1k views

Bind9 refusing to start

I am experiencing issues getting Bind9 to start. Output from "tail /var/log/messages": Aug 15 06:50:30 iceweb kernel: [125973.964184] type=1400 audit(1313409030.779:50): apparmor="DENIED" ...
1 vote
2 answers
7k views

Centos BIND server: Unable to start named daemon

I've installed a fresh Centos server and installed bind and bind-utils to it. The content of /etc/named.conf is: # create new options { directory "/var/named"; allow-query { localhost; 10.1....
-1 votes
1 answer
371 views

Unrealistic number of zones in rndc status

I get 102 zones when I do rndc status. My BIND9 server is only authoritative for 1 zone (that's the site that I host on my LAMP server). I'm aware that it could be an extra ten or so zones, due to the ...
1 vote
1 answer
3k views

dnssec remove keys from zone

is there a way to remove all dnssec related stuff from a zone on a running bind server? I configured bind like like here described. If i use rndc signing -clear all domain.tld nothng happens to the ...
1 vote
1 answer
4k views

rndc delzone {zonename} : permission denied

System is: Debian GNU/Linux 8.2 (jessie) BIND 9.9.5-9+deb8u3-Debian (Extended Support Version) named.conf.options: options { directory "/var/cache/bind"; key-directory "/etc/bind/keys"; ...
0 votes
1 answer
29 views

rndc replication slower for ns4

I have 4 dns servers named ns1, ns2, ns3 and ns4. ns1 is the master and the rest are the slaves. I also use rndc to manage the replication. What I found is interesting is that when I make any ...
2 votes
1 answer
6k views

BIND 9 : rndc reload has no effect

I'm running a BIND 9.10.2 port on FreeBSD 10 in a jailed configuration, and I'm having a problem that rndc reload does not pick up any (primary master) zone file changes, even though the SOA serial is ...
0 votes
0 answers
427 views

RNDC is not reloading my ACL list in Bind, how can I make it reload without losing Cache?

I have two ACL's, one expired, and one authorized. When I make a change to the ACL and try: rndc reload and rndc reconfig I do not see that the ACL was refreshed. Any ideas?
-1 votes
2 answers
3k views

bind view clause causes fail

I'm trying to setup views in my bind9 configuration. I use ubuntu 10.04. When I add view "general" { match-clients { any; }; }; I try to reload bind9 and rndc but it fails. rndc: 'reload' failed:...
0 votes
1 answer
83 views

BIND9 , restrict RNDC controls to specific views

I have a BIND9 installation where the zones are partitioned in different views. I'd like to restrict the RNDC controls to this specific views. Example: I want a RNDC client to be allowed to delete ...
2 votes
1 answer
48 views

Do I have to secure bind.keys for BIND 9?

just realized after installing bind-9.9.4-P2, there is a ./etc/bind.keys file already installed. I have looked at their explanation here but have no clue what this is for still. Can someone please ...
2 votes
1 answer
3k views

DNS on Redhat - rdnc: no server specified and no default

The error as shown in the 2 pictures below: The configurations for named.conf and the zones files as shown below: Update 1: This is the result after applying the suggestions from "alveso". The ...
1 vote
1 answer
365 views

BIND/RNDC - Why do my subzones work and my actual zone doesn't?

Here is my named.conf: view "external" { match-clients { any; }; match-destinations { any; }; recursion no; allow-query-cache { none; }; ...
0 votes
1 answer
547 views

Shouldn't rndc reload invalidate the cache of that domain?

I've got a nameserver that I updated a zone file on, incremented the serial, and ran rndc reload. I then verified that named saw it in the log, and it did, without errors. But when I run dig domain....
0 votes
1 answer
1k views

Is it possible to make rndc always validate on reload?

I've noticed that on some occasions, when I run rndc reload foobar.com, it'll validate the domain -- it'll give me an error if there is one, for example: rndc: 'reload' failed: multiple RRs of ...