Re: DNS: Question about setting abc.com record

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

 



On Wed, 2008-06-18 at 08:38 -0700, 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.

If you have three name servers for your domain, then you would list them
all as you've done.  Though I think you'll find the "@" is actually
redundant, BIND would list them like the following, by default:

               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.

Again, this looks fine, you'd list all MX records for your domain.  

Again, the @ is probably redundant.  I'm presuming you're using BIND, as
that comes with Fedora.  Other name servers might write their internal
records differently than BIND.

> @               IN TXT          v=spf1 a mx -all

This TXT record would only apply to "@", which is 10.1.0.1.  If you
wanted to give each mailserver entry a TXT record, you'd want to write
individual TXT records for each host.  One way to do that would be as
I've jammed into the quoted text below.  In this case, the TXT record is
associated with the entry above it.

> ;============ Hosts ======================
> @               IN A            10.1.0.1
> mail1           IN A            10.1.0.1
                     TXT          v=spf1 a mx -all
> mail2           IN A            10.1.0.2
                     TXT          v=spf1 a mx -all
> mail3           IN A            10.1.0.3
                     TXT          v=spf1 a mx -all
> ns1             IN A            10.1.0.1
> ns2             IN A            10.1.0.2
> ns3             IN A            10.1.0.2
> ;========================================


-- 
[tim@localhost ~]$ uname -r
2.6.25.6-55.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
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