Re: Subdomain novice issue
From: Barry Margolin (barry.margolin@level3.com)
Date: 04/03/03
- Next message: davehinz@spamcop.net: "Re: Help with Unix MAIL program"
- Previous message: BSD: "icq"
- In reply to: Jim Aptal: "Subdomain novice issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Barry Margolin <barry.margolin@level3.com> Date: Thu, 03 Apr 2003 17:21:00 GMT
In article <b6gqse$1aj$1@nic.grnet.gr>, Jim Aptal <aptal@trnet.tr> wrote:
>Hello. At first please forgive me for the simplicity of my question,
>but I'm rather new to this kind of stuff. I use Red Hat Linux 8.0.
>I am trying to set up a subdomain, sub.domain.com, to install a separate
>mail server,
>named say subsrv.
>But the machine which will store this belongs to domain.com, not
>sub.domain.com.
>(I have also tried the machine to be member of sub.domain.com with the same
>results).
>
>My main MX records are as follows:
>
>domain.com. IN MX 100 srv.domain.com
> IN MX 200 topleveldns.domain.com
>
>I have included the following in my main mydomain.com zone:
>
>sub.domain.com. IN NS srv.domain.com
> IN MX 150 subsrv.domain.com
If you have NS records for the subdomain, then you're delegating a new
zone. So you should have a separate zone file for sub.mydomain.com, and
the MX record should be in that file.
But since you're using the same server for the subdomain as the parent
domain, it doesn't really need to be a separate zone. Get rid of the NS
record and just put the MX record in the mydomain.com zone file.
>I have also included the following in the new server's
>/etc/mail/local-host-names:
>
>subsrv.domain.com
>
>The problem is that sendmail complains about the usual issue "MX list for
>sub.domain.com points
>back to subsrv.domain.com". I tried to change the contents of
>/etc/mail/local-host-names to
>
>sub.mydomain.com
That's what should be in the file.
>but this results in sendmail to hang when trying to send mail to any
>user@sub.domain.com.
>
>Is there something I am doing wrong? I would appreciate any help.
Maybe fixing the DNS problem I described above will solve it.
-- Barry Margolin, barry.margolin@level3.com Genuity Managed Services, a Level(3) Company, Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
- Next message: davehinz@spamcop.net: "Re: Help with Unix MAIL program"
- Previous message: BSD: "icq"
- In reply to: Jim Aptal: "Subdomain novice issue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|