Questions tagged [rndc]

26 questions
6
votes
3 answers

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 rndc manpage I tried to use the rndc flush view…
JustTrying
  • 239
  • 2
  • 5
  • 11
5
votes
5 answers

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 server is using an older version of the command…
Josh
  • 9,190
  • 28
  • 80
  • 128
3
votes
2 answers

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 over to the SLAVE. The servers can reach each…
lizlin
  • 43
  • 1
  • 2
  • 7
2
votes
1 answer

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 properly incremented. The command itself seems…
rustyx
  • 1,676
  • 3
  • 21
  • 30
2
votes
1 answer

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 let me know if I need to secure this key also by…
user192702
  • 931
  • 5
  • 15
  • 22
2
votes
1 answer

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 error has been resolved, but I still can't ping my…
Syahmul Aziz
  • 47
  • 2
  • 8
2
votes
4 answers

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/40.234.173.db root@server [/var/named]# rndc…
Clear.Cache
  • 89
  • 1
  • 1
  • 11
1
vote
3 answers

Bind get zone transfer status after executing rndc reload

I have a script that executes rndc reload in on secondary (slave) servers on the zones that are modified. This command returns success if the reload is queued successfully. I wanted to know if there is a way I can get the…
1
vote
1 answer

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"; // If there is a firewall between you and…
eXe
  • 235
  • 4
  • 13
1
vote
1 answer

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 zone. If i delete the dnssec signed zone via rndc…
eXe
  • 235
  • 4
  • 13
1
vote
2 answers

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.2.0/24; }; allow-transfer { localhost;…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
1
vote
2 answers

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:1: unknown option ' ■#...' rndc: error:…
Nelson
  • 113
  • 3
1
vote
1 answer

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; }; include "/etc/named.root.hints"; zone…
1
vote
1 answer

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 confirmation if it was successful, do not even get…
Dunner1991
  • 31
  • 5
0
votes
1 answer

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 any of the upgrade version information matters, but…
1
2