Symptoms

Failed task is generated every time when I change DNS settings of domains:

    Multiple errors during NS update: Destination host 'dns1.domain.tld' (#9), IP '1.2.3.4' : Internal error: /usr/sbin/rndc /usr/sbin/rndc reconfig failed with code 1 saying: STDOUT: '' STDERR 'rndc: connect failed: 127.0.0.1#953: connection refused

Cause

Named service is stopped or not reachable on DNS service Node.

Resolution

  1. Login to DNS Service Node mentioned in error and check status of DNS service:

    [root@dns1]# /etc/init.d/named status
    number of zones: 350
    debug level: 0
    xfers running: 2
    xfers deferred: 40
    soa queries in progress: 47
    query logging is OFF
    recursive clients: 0/1000
    tcp clients: 0/100
    server is up and running
    named (pid  28150) is running...
    

It should be running and you should be able to connect to port 953:

    [root@dns1]# telnet 127.0.0.1 953
    Trying 127.0.0.1...
    Connected to 127.0.0.1.
    Escape character is '^]'.

Internal content