Re: Resolving names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Tue, Apr 29, 2025 at 4:53 AM Samuel Sieb <samuel@xxxxxxxx> wrote:
On 4/29/25 1:10 AM, Javier Perez 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
>
> ; <<>> 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

That shouldn't work.  A name without a domain isn't valid.  You need to
set things up so there's a domain (and don't use .local!).  You can have
a default domain, so that bare names will automatically be tried with
the default domain.
--
__
Sorry. It works.  I do not have a domain name because this is my personal, home network. Never got a domain name to it, in fact my connection to the internet is not a static IP, it is whatever the box my ISP gave me assigns to my router. Is there any suitable name one can use as "domain" for local networks that do not clash with already defined names (like there is for IPs, 192.168.x.x is supposed not to be a public IP). Once I looked it up and did not arrive to a satisfactory answer, got a lot of contradictory info from google.

--
------------------------------
 /\_/\  
 |O O|  pepebuho@xxxxxxxxx
 ~~~~     Javier Perez
 ~~~~          While the night runs
 ~~~~          toward the day...
  m m       Pepebuho watches
                from his high perch.
-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux