Re: DNS: Question about setting abc.com record

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

 



Daniel B. Thurman wrote:

I have several DNS servers and wondered if the following
record entry is properly set for all of my DNS servers:

$TTL 172800
@        IN SOA ns1.abc.com. admin.abc.com. (
               1               ; serial
               3H            ; refresh
               15M          ; retry
               1W            ; expiry
               1D )           ; minimum
;============ Nameserver ================
@               IN NS           ns1.abc.com.
@               IN NS           ns2.abc.com.
@               IN NS           ns3.abc.com.
;============ Mail Exchange =============
@               IN MX   10      mail1.abc.com.
@               IN MX   20      mail2.abc.com.
@               IN MX   30      mail3.abc.com.
@               IN TXT          v=spf1 a mx -all
;============ Hosts ======================
@               IN A            10.1.0.1
mail1           IN A            10.1.0.1
mail2           IN A            10.1.0.2
mail3           IN A            10.1.0.3
ns1             IN A            10.1.0.1
ns2             IN A            10.1.0.2
ns3             IN A            10.1.0.2
;========================================

In particular, I am focusing on record:
@               IN A            10.1.0.1

The reason I have set all of my DNS zones for the above record
for all of my DNS servers is because if had I set this record for the
actual localhost IP address, it appears that if I send mail on the
localhost, the localhost would receive the email I sent. For example,
sending mail to: joe@xxxxxxx would be received at the localhost instead
of being sent to mail{1,2,3}.abc.com.  Worse, any localhost programs
attempting to send emails to "root@xxxxxxx" would fail to be delivered
to one of the MX list.

So, the question is, must each DNS server have it's own real IP address
in the '@' record?  If so, how do I get around this?

Kind regards,
Dan

Dan,

do you have any other services with the network address 10.1.0.1 which you want to refer to as 'abc.com'? If not you do not need the 'A' record just after the Hosts line. Otherwise for a simple internal network this look reasonable. However, do you not have any other hosts you need to address? If so the you need their 'A' records.

Howard.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux