[CentOS] Re: Phantom name server

2024-05-24 Thread Dave Close
Kenneth Porter wrote: >> nsswitch.conf contains: >>hosts: files mdns4_minimal [NOTFOUND=return] resolve dns myhostname > >Using .local for your LAN and putting mdns4_minimal before resolve and >dns is probably part of the issue. mdns4_minimal is probably >intercepting the query. What it does

[CentOS] Re: Phantom name server

2024-05-24 Thread Kenneth Porter
On 5/24/2024 1:41 PM, Dave Close wrote: nsswitch.conf contains: hosts: files mdns4_minimal [NOTFOUND=return] resolve dns myhostname Using .local for your LAN and putting mdns4_minimal before resolve and dns is probably part of the issue. mdns4_minimal is probably intercepting the query. Wh

[CentOS] Re: Phantom name server

2024-05-24 Thread Robert Heller
At Fri, 24 May 2024 13:41:12 -0700 CentOS mailing list wrote: > > Kenneth Porter wrote: > > >Does dig consult the proper server? > > dig responds instantly but with the query REFUSED when asking for a > simple host name, for example "pfa". When asking for the qualified > host name, "pfa.local

[CentOS] Re: Phantom name server

2024-05-24 Thread Dave Close
Robert Heller wrote: >Question: is dmasq running somewhere? Maybe "orphaned"? >Another thing to check is whether there is an /etc/hosts file and what it >contains. And what is in /etc/nsswitch.conf as well. nsswitch.conf contains: hosts: files mdns4_minimal [NOTFOUND=return] resolve dns myho

[CentOS] Re: Phantom name server

2024-05-24 Thread Dave Close
Kenneth Porter wrote: >Does dig consult the proper server? dig responds instantly but with the query REFUSED when asking for a simple host name, for example "pfa". When asking for the qualified host name, "pfa.local", the output contains the suspicious lines, "WARNING: .local is reserved for Mult

[CentOS] Re: Phantom name server

2024-05-24 Thread Robert Heller
At Fri, 24 May 2024 12:24:02 -0700 CentOS mailing list wrote: > > Does dig consult the proper server? > > You could run CUPS or another failing program under strace to log the > system calls and that might help identify where it's getting the wrong > server from. Another thing to check is w

[CentOS] Re: Phantom name server

2024-05-24 Thread Robert Heller
At Fri, 24 May 2024 11:59:23 -0700 CentOS mailing list wrote: > > Robert Heller wrote: > > > Normally, with systemd-resolved running /etc/resolv.conf is NOT an editable > > file, but a symlink to a file under systemd-resolved control, and usually > > systemd-resolved is running its own caching

[CentOS] Re: Phantom name server

2024-05-24 Thread Kenneth Porter
Does dig consult the proper server? You could run CUPS or another failing program under strace to log the system calls and that might help identify where it's getting the wrong server from. ___ Discuss mailing list -- discuss@lists.centos.org To un

[CentOS] Re: Phantom name server

2024-05-24 Thread Dave Close
Robert Heller wrote: > Normally, with systemd-resolved running /etc/resolv.conf is NOT an editable > file, but a symlink to a file under systemd-resolved control, and usually > systemd-resolved is running its own caching only name server (dmasq?) ... Kenneth Porter wrote: >Whether it's managed o

[CentOS] Re: Phantom name server

2024-05-24 Thread Kenneth Porter
On 5/24/2024 10:49 AM, Robert Heller wrote: Normally, with systemd-resolved running /etc/resolv.conf is NOT an editable file, but a symlink to a file under systemd-resolved control, and usually systemd-resolved is running its own caching only name server (dmasq?) that is caching 8.8.8.8 -- eg non

[CentOS] Re: Phantom name server

2024-05-24 Thread Robert Heller
At Fri, 24 May 2024 10:21:16 -0700 CentOS mailing list wrote: > > What's in /etc/resolve.conf? That should be /etc/resolv.conf -- the 'e' in resolve is left out. With systemd-resolved running it would be a symlink to something under systemd-resolved control (there is a config file somewhere

[CentOS] Re: Phantom name server

2024-05-24 Thread Robert Heller
At Fri, 24 May 2024 09:20:44 -0700 CentOS mailing list wrote: > > I asked: > > > I have a CentOS stream 8 system (C8) which runs its own internal > > name server (BIND 9). In the past, it used an external name server > > on another machine but that server has been stopped. The resolv.conf > >

[CentOS] Re: Phantom name server

2024-05-24 Thread Kenneth Porter
What's in /etc/resolve.conf? ___ Discuss mailing list -- discuss@lists.centos.org To unsubscribe send an email to discuss-le...@lists.centos.org

[CentOS] Re: Phantom name server

2024-05-24 Thread Dave Close
I asked: > I have a CentOS stream 8 system (C8) which runs its own internal > name server (BIND 9). In the past, it used an external name server > on another machine but that server has been stopped. The resolv.conf > file on C8 has been modified to remove the reference to the old > server and Net

[CentOS] Re: Phantom name server

2024-05-24 Thread Aleksandar Ivanisevic
Hi, Do you have nscd running? Try restarting that. Sent from my iPhone > On 24. May 2024, at 08:51, Simon Matter wrote: > >  >> >> I have a CentOS stream 8 system (C8) which runs its own internal >> name server (BIND 9). In the past, it used an external name server >> on another machine but