Re: dns wrap up

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

 



On 04/05/2021 06:13, Ed Greshko wrote:

*5. dns config file*
;
$TTL 3D    ; default ttl for records without a specified lifetime
$ORIGIN linuxlighthouse.com <http://linuxlighthouse.com>.
linuxlighthouse.com <http://linuxlighthouse.com>.     CAA       0 issue "letsencrypt.org <http://letsencrypt.org>"
@   IN  SOA ws.linuxlighthouse.com <http://ws.linuxlighthouse.com>. root.linuxlighthouse.com <http://root.linuxlighthouse.com>. (
                      2021050301   ;  serial number
                      16384        ;  ns refresh
                      2048         ;  ns retry
                      1048576      ;  authority expiry
                      2560        );  min (RFC2308 §4)
     IN NS ws.linuxlighthouse.com <http://ws.linuxlighthouse.com>.
     IN NS ns3.attdns.com <http://ns3.attdns.com>.
;    IN MX linuxlighthouse.com <http://linuxlighthouse.com>.
ws   IN A       108.220.213.121
www  IN A       108.220.213.121
     IN A       108.220.213.121

[egreshko@meimei ~]$ host linuxlighthouse.com
[egreshko@meimei ~]$

returns nothing.  So, entering http://linuxlighthouse.com will fail.

BTW, the reason the above fails is due to the incorrect format of the zone file.

the last line contains "white-space IN A       108.220.213.121" which means that
info applies to the previous line.

As an example, my zone file contains.

acer                    A       211.75.128.211
                        AAAA    2001:470:67:cce::5
                        A       192.168.2.116

So.....

[root@f33k named]# host acer.greshko.com localhost
Using domain server:
Name: localhost
Address: ::1#53
Aliases:

acer.greshko.com has address 211.75.128.211
acer.greshko.com has address 192.168.2.116
acer.greshko.com has IPv6 address 2001:470:67:cce::5


--
Remind me to ignore comments which aren't germane to the thread.

_______________________________________________
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 on the list, report it: https://pagure.io/fedora-infrastructure



[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