Unbound fails to resolve sometimes

G’day all,

I have to restart unbound on occasions…

mike@shark:~$ ssh wr-fw
root@wr-fw's password:
Last login: Mon Oct 25 18:53:52 2021 from 192.158.202.2
[root@wr-fw ~]# ping octopus-ilo
ping: octopus-ilo: Name or service not known
[root@wr-fw ~]# ping octopus-ilo.wolf-rock.com
ping: octopus-ilo.wolf-rock.com: Name or service not known
[root@wr-fw ~]# ping octopus
PING octopus.wolf-rock.com (192.158.202.145) 56(84) bytes of data.
64 bytes from 192.158.202.145 (192.158.202.145): icmp_seq=1 ttl=64 time=0.237 ms
64 bytes from 192.158.202.145 (192.158.202.145): icmp_seq=2 ttl=64 time=0.175 ms
^C
--- octopus.wolf-rock.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.175/0.206/0.237/0.031 ms
[root@wr-fw ~]# ps -eaf|grep unb
root      3277     1  0 Sep23 ?        00:02:49 /usr/bin/python3 /usr/sbin/unbound-dhcp-leases-bridge -d
root     15362 15283  0 15:34 pts/0    00:00:00 grep unb
nobody   24650     1  0 Oct01 ?        00:11:27 /usr/sbin/unbound
[root@wr-fw ~]# grep oct /var/ipfire/main/hosts
on,192.158.202.3,octopus-ilo,wolf-rock.com,on
on,192.158.202.145,octopus,wolf-rock.com,on
[root@wr-fw ~]# /etc/rc.d/init.d/unbound restart
Stopping Unbound DNS Proxy...                                                                                                                                      [  OK  ]
Starting Unbound DNS Proxy...                                                                                                                                      [  OK  ]
[root@wr-fw ~]# ping octopus-ilo.wolf-rock.com
PING octopus-ilo.wolf-rock.com (192.158.202.3) 56(84) bytes of data.
64 bytes from octopus-ilo.wolf-rock.com (192.158.202.3): icmp_seq=1 ttl=255 time=0.379 ms
^C
--- octopus-ilo.wolf-rock.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.379/0.379/0.379/0.000 ms
[root@wr-fw ~]# 

My ipfire gets into the situation where some of the hosts do not resolve.
Unbound is running, nothing of interest in the log files and the config does not need to be changed, just a restart.
This has been happening for sometime.

Any suggestions of what the issue could be or where I could look further?

It may be related to this issue:

1 Like