On 24/04/2021 08:00, Jack Craig wrote:
ps -ax | grep named
1814955 pts/4 S+ 0:00 sudo vi /etc/named.conf
1814962 pts/4 S+ 0:00 /usr/bin/vim /etc/named.conf
1815795 ? Ssl 0:09 /usr/sbin/named -u named -c /etc/named.conf
1825164 pts/0 S+ 0:00 grep --color=auto named
[root@ws named$
[root@ws named$ ncat -l 10.0.0.101 53
it does 'hang'
OK.... Had you left it hanging then had I run "nmap -sS 108.220.213.1" should
have shown the
port "open"
See the comments below.
This series on 4/13 is "good". Listening on all interfaces
journalctl -b 0 | grep -i listen | grep named
Apr 13 22:42:48
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com> named[905]:
using 7 UDP listeners per interface
Apr 13 22:42:48
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com> named[905]:
listening on IPv6 interfaces, port 53
Apr 13 22:42:48
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com> named[905]:
listening on IPv4 interface lo, 127.0.0.1#53
Apr 13 22:42:48
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com> named[905]:
command channel listening on 127.0.0.1#953
Apr 13 22:42:53
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com> named[905]:
listening on IPv4 interface eno1, 10.0.0.101#53
Apr 13 22:42:54
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com> named[905]:
listening on IPv4 interface virbr0, 192.168.122.1#53
Apr 15 07:55:08
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com> named[905]:
client @0x7f50600e6060 89.39.107.167#39720 (
mailgate.listen.com
<
http://mailgate.listen.com>): view external-wan-view: query:
mailgate.listen.com
<
http://mailgate.listen.com> IN A +T (10.0.0.101)
Apr 15 09:24:02
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com> named[905]:
client @0x7f505c0ef630 91.191.209.122#44020 (mx.foodamentalisten.de
<
http://mx.foodamentalisten.de>): view external-wan-view: query:
mx.foodamentalisten.de <
http://mx.foodamentalisten.de> IN A +T (10.0.0.101)
Probably a "systemctl restart named" issued. PID 905 is shutting down.
Apr 15 11:29:22
ws.linuxlighthouse.com
<
http://ws.linuxlighthouse.com> named[905]: no longer listening on ::#53
Apr 15 11:29:22
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com> named[905]:
no longer listening on 127.0.0.1#53
Apr 15 11:29:22
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com> named[905]:
no longer listening on 10.0.0.101#53
Apr 15 11:29:22
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com> named[905]:
no longer listening on 192.168.122.1#53
And a new PID 309193 is starting. Also 309193 shows "good"
Apr 15 11:29:22
ws.linuxlighthouse.com
<
http://ws.linuxlighthouse.com> named[309193]: using 7 UDP listeners per interface
Apr 15 11:29:22
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com>
named[309193]: listening on IPv6 interfaces, port 53
Apr 15 11:29:22
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com>
named[309193]: listening on IPv4 interface lo, 127.0.0.1#53
Apr 15 11:29:22
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com>
named[309193]: listening on IPv4 interface eno1, 10.0.0.101#53
Apr 15 11:29:22
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com>
named[309193]: listening on IPv4 interface virbr0, 192.168.122.1#53
Apr 15 11:29:22
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com>
named[309193]: command channel listening on 127.0.0.1#953
Apr 15 12:57:26
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com>
named[309193]: no longer listening on ::#53
Apr 15 12:57:26
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com>
named[309193]: no longer listening on 127.0.0.1#53
Apr 15 12:57:26
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com>
named[309193]: no longer listening on 10.0.0.101#53
Apr 15 12:57:26
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com>
named[309193]: no longer listening on 192.168.122.1#53
<SNIP>
Here named is getting shutdown.
Apr 15 19:02:47
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com>
named[336009]: no longer listening on ::#53
Apr 15 19:02:47
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com>
named[336009]: no longer listening on 127.0.0.1#53
Apr 15 19:02:47
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com>
named[336009]: no longer listening on 10.0.0.101#53
Apr 15 19:02:47
ws.linuxlighthouse.com <
http://ws.linuxlighthouse.com>
named[336009]: no longer listening on 192.168.122.1#53
The next day when name is started again we no longer see....
listening on IPv4 interface eno1, 10.0.0.101#53
So, what happened? What changed? All subsequent entries are "bad".
For "fun" how about rebooting the system?
--
Remind me to ignore comments which aren't germane to the thread.