> > > On Tue, Apr 29, 2025 at 4:12 AM Barry <ba...@barrys-emacs.org> wrote:
> > > On 29 Apr 2025, at 09:11, Javier Perez <pepeb...@gmail.com> wrote: > > > Help. Looking at the about systemd-resolved question prompted me to try to > clear a problem I am having with local DNS. > My home system have few pcs and other devices, some of them with static > ip addresses set at my local router. > My situation is that name resolution does not always work. > For example, if I do > pepebuho@pepewin:~$ dig bloody > > > You have to pass the fqdn to dig. It will not add suffixes. > What is the suffix used for the local dns? > > I am not sure I follow you. "dig" found out the IP address of "bloody" (192.168.1.5). I did not have to add anything. Also I do not think I am using any suffix. In fact the "domain name" is blank because after all, this is my home lan. Looking at "Network Setup" on the router webpage I see I have as "Local DNS" 8.8.8.8. Maybe I should have the same address as the router (192.160.1.1)? Could that be it? > ; <<>> DiG 9.18.33 <<>> bloody > ;; global options: +cmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61697 > ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 > > ;; OPT PSEUDOSECTION: > ; EDNS: version: 0, flags:; udp: 4096 > ;; QUESTION SECTION: > ;bloody. IN A > > ;; ANSWER SECTION: > bloody. 0 IN A 192.168.1.5 > > ;; Query time: 1 msec > ;; SERVER: 192.168.1.1#53(192.168.1.1) (UDP) > ;; WHEN: Tue Apr 29 03:01:45 EST 2025 > ;; MSG SIZE rcvd: 51 > > It works, but if I try to ping it, > > pepebuho@pepewin:~$ ping bloody > ping: bloody: Name or service not known > pepebuho@pepewin:~$ ping 192.168.1.5 > PING 192.168.1.5 (192.168.1.5) 56(84) bytes of data. > 64 bytes from 192.168.1.5: icmp_seq=1 ttl=64 time=0.378 ms > 64 bytes from 192.168.1.5: icmp_seq=2 ttl=64 time=0.260 ms > ^C > --- 192.168.1.5 ping statistics --- > 2 packets transmitted, 2 received, 0% packet loss, time 1035ms > rtt min/avg/max/mdev = 0.260/0.319/0.378/0.059 ms > pepebuho@pepewin:~$ > > It falis! same thing happens with ssh. > > > Do you have the domain search list set up to add the suffix for your dns? > > Do not think so. Under "Network Address Server Settings (DHCP), I see three "Static DNS X) entries (1,2 and 3) and they all have 0.0.0.0 Is that the "domain search list"? > > I just work around it by using the ip addresses directly, but I remember > it used to work several versions away. > > How can I make it work again? I tried to solve it using grok as a helper > but could not make it work. > > > Barry > > > -- > ------------------------------ > /\_/\ > |O O| pepeb...@gmail.com > ~~~~ Javier Perez > ~~~~ While the night runs > ~~~~ toward the day... > m m Pepebuho watches > from his high perch. > -- > _______________________________________________ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue > > -- > _______________________________________________ > users mailing list -- users@lists.fedoraproject.org > To unsubscribe send an email to users-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue > -- ------------------------------ /\_/\ |O O| pepeb...@gmail.com ~~~~ Javier Perez ~~~~ While the night runs ~~~~ toward the day... m m Pepebuho watches from his high perch.
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue