<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Howard Wilkinson wrote:
<blockquote cite="mid:48593A8F.3090105@cohtech.com" type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
Daniel B. Thurman wrote:
  <blockquote cite="mid:4859339E.3080003@cdkkt.com" type="cite">
    <meta content="text/html;charset=ISO-8859-1"
 http-equiv="Content-Type">
Howard Wilkinson wrote:
    <blockquote cite="mid:48592D16.6010001@cohtech.com" type="cite">
      <meta http-equiv="Content-Type" content="text/html; ">
      <meta name="Generator"
 content="MS Exchange Server version 6.0.6619.12">
      <title>Re: DNS: Question about setting abc.com record</title>
<!-- Converted from text/plain format -->
      <p><font size="2">Daniel B. Thurman wrote:</font> <br>
      <font size="2">&gt;</font> <br>
      <font size="2">&gt; I have several DNS servers and wondered if
the
following</font> <br>
      <font size="2">&gt; record entry is properly set for all of my
DNS
servers:</font> <br>
      <font size="2">&gt;</font> <br>
      <font size="2">&gt; $TTL 172800</font> <br>
      <font size="2">&gt; @&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN SOA ns1.abc.com. admin.abc.com. (</font>
      <br>
      <font size="2">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; serial</font>
      <br>
      <font size="2">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3H&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; refresh</font>
      <br>
      <font size="2">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 15M&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; retry</font> <br>
      <font size="2">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1W&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; expiry</font> <br>
      <font size="2">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1D )&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ; minimum</font>
      <br>
      <font size="2">&gt; ;============ Nameserver ================</font>
      <br>
      <font size="2">&gt; @&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN NS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ns1.abc.com.</font>
      <br>
      <font size="2">&gt; @&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN NS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ns2.abc.com.</font>
      <br>
      <font size="2">&gt; @&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN NS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ns3.abc.com.</font>
      <br>
      <font size="2">&gt; ;============ Mail Exchange =============</font>
      <br>
      <font size="2">&gt; @&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN MX&nbsp;&nbsp; 10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mail1.abc.com.</font>
      <br>
      <font size="2">&gt; @&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN MX&nbsp;&nbsp; 20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mail2.abc.com.</font>
      <br>
      <font size="2">&gt; @&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN MX&nbsp;&nbsp; 30&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mail3.abc.com.</font>
      <br>
      <font size="2">&gt; @&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN TXT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; v=spf1 a mx
-all</font> <br>
      <font size="2">&gt; ;============ Hosts ======================</font>
      <br>
      <font size="2">&gt; @&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10.1.0.1</font>
      <br>
      <font size="2">&gt; mail1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10.1.0.1</font>
      <br>
      <font size="2">&gt; mail2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10.1.0.2</font>
      <br>
      <font size="2">&gt; mail3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10.1.0.3</font>
      <br>
      <font size="2">&gt; ns1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10.1.0.1</font>
      <br>
      <font size="2">&gt; ns2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10.1.0.2</font>
      <br>
      <font size="2">&gt; ns3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10.1.0.2</font>
      <br>
      <font size="2">&gt; ;========================================</font>
      <br>
      <font size="2">&gt;</font> <br>
      <font size="2">&gt; In particular, I am focusing on record:</font>
      <br>
      <font size="2">&gt; @&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IN A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10.1.0.1</font>
      <br>
      <font size="2">&gt;</font> <br>
      <font size="2">&gt; The reason I have set all of my DNS zones for
the
above record</font> <br>
      <font size="2">&gt; for all of my DNS servers is because if had I
set
this record for the</font> <br>
      <font size="2">&gt; actual localhost IP address, it appears that
if
I
send mail on the</font> <br>
      <font size="2">&gt; localhost, the localhost would receive the
email
I sent. For example,</font> <br>
      <font size="2">&gt; sending mail to: <a moz-do-not-send="true"
 class="moz-txt-link-abbreviated" href="mailto:joe@abc.com">joe@abc.com</a>
would be received at
the localhost instead</font> <br>
      <font size="2">&gt; of being sent to mail{1,2,3}.abc.com.&nbsp; Worse,
any
localhost programs</font> <br>
      <font size="2">&gt; attempting to send emails to <a
 moz-do-not-send="true" class="moz-txt-link-rfc2396E"
 href="mailto:root@abc.com">"root@abc.com"</a> would
fail to be delivered</font> <br>
      <font size="2">&gt; to one of the MX list.</font> <br>
      <font size="2">&gt;</font> <br>
      <font size="2">&gt; So, the question is, must each DNS server
have
it's own real IP address</font> <br>
      <font size="2">&gt; in the '@' record?&nbsp; If so, how do I get
around
this?</font> <br>
      <font size="2">&gt;</font> <br>
      <font size="2">&gt; Kind regards,</font> <br>
      <font size="2">&gt; Dan</font> <br>
      <font size="2">&gt;</font> <br>
      <font size="2">Dan,</font> </p>
      <p><font size="2">do you have any other services with the network
address 10.1.0.1 which </font> <br>
      <font size="2">you want to refer to as 'abc.com'? If not you do
not
need the 'A' record </font> <br>
      <font size="2">just after the Hosts line. Otherwise for a simple
internal network this </font> <br>
      <font size="2">look reasonable. However, do you not have any
other
hosts you need to </font> <br>
      <font size="2">address? If so the you need their 'A' records.</font>
      </p>
      <p><font size="2">Howard.</font> </p>
    </blockquote>
Yes, I have services at 10.1.0.1 as well as at several other<br>
hosts.&nbsp; The main reason that I use the @ is so that I can<br>
use 'abc.com' such as <a moz-do-not-send="true"
 class="moz-txt-link-abbreviated" href="mailto:dan@abc.com">dan@abc.com</a>
or to simply type<br>
abc.com in the web-browser's URL line and it would get<br>
resolved.<br>
    <br>
What I found was, if I was at host one.abc.com, which had<br>
a DNS server and had @ record set to it's own IP address,<br>
and a local account "dan", sending mail to <a moz-do-not-send="true"
 class="moz-txt-link-abbreviated" href="mailto:dan@abc.com">dan@abc.com</a><br>
would be received locally instead of being delivered<br>
according to the MX records.&nbsp; That is why I set the @<br>
record for all of my DNS servers to the same IP address<br>
and not to each DNS servers actual IP address.<br>
    <br>
Does this make sense?<br>
    <br>
Thanks!<br>
Dan<br>
    <br>
  </blockquote>
The point I was making was that the address associated with the '@'
record is independent of the name server information. The name server
address data is correctly listed later in the file. Thus you could if
you did not have any other services list the name servers without that
record.<br>
  <br>
Your email SHOULD be delivered using the MX records data. Which again
is independent from the '@' address record. I say SHOULD because you
may have a mail routing issues depending on the mailer you use and how
it it configured. Sendmail can be set up so that it will deliver
locally even in the presence of relevant MX records. This has been the
default in some distributions. I do not know about the current Fedora
set up as we use custom configurations for all of our systems.<br>
  <br>
So I suspect you need to look at the mailer set up not the address
record entries in the DNS arena.<br>
  <br>
Howard.<br>
  <br>
P.S. I have copied this back to the mailing list, but I suspect we have
broken the thread.<br>
  <br>
</blockquote>
Ok, thanks for this information!&nbsp; I was not sure what was going<br>
on and why.&nbsp; I will look into sendmail to see what is going on.<br>
<br>
Thanks for your help!<br>
Dan<br>
<br>
P.S. I noticed that you have email receipt requests turned on and<br>
if that was intended, never mind.<br>
<br>
</body>
</html>