Virtual hosting and MX records

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Mon Mar 25 20:19:29 UTC 2002


Wayne Stevenson <remote at dzhosting.net> wrote:
> I was wondering if someone could tell me the best way to list the MX records in
> my zone files . I am virtual serving a number of domains right now and have the
> zone files configured like below, but I am getting an error in sendmail saying
> mail is looping back to itself. Any suggestions would be appreciated. Thanks.

This is a sendmail configuration error, not a DNS problem.

Basically what you need to do is tell sendmail which domain names it
should recognize as itself.


> $TTL 86400
> @       IN      SOA    cubemods.com. root.cubemods.com. (
>                        10018                  ; serial
>                        43200                  ; refresh
>                        3600                   ; retry
>                        3600000                ; expire
>                        2592000                ; minimum
>                        )


>                   IN  NS     ns1.dzhosting.net.
>                   IN  MX     10  cubemods.com.
> cubemods.com.     IN  A      142.179.189.122
> www               IN  CNAME  cubemods.com.
> ftp               IN  CNAME  cubemods.com.


-- 
Peter Håkanson         
        IPSec  Sverige      (At the Riverside of Gothenburg, home of Volvo)
           Sorry about my e-mail address, but i'm trying to keep spam out.
	   Remove "icke-reklam" and it works.


More information about the bind-users mailing list