DNS help with mx records
phn at icke-reklam.ipsec.nu
phn at icke-reklam.ipsec.nu
Fri May 17 20:23:10 UTC 2002
Ricardo Fitzgerald <axis at movinet.com.uy> wrote:
> Hi,
> I have a problem setting up my mail server, I had followed the
> tutorial DNS how to , and apparently everything worked fine, but
> something must be wrong because the mail server is not working. After
> careful examination I found out the problem must be in the way I
> configured mx in my zone files.
Yes, your MX has a CNAME as RHS. That illegal.
> Setup: linux server with 2 NICs 200.61.76.88 --> Internet and
> 192.168.0.1 -->Internal net win PCs.
> my ermitagemontevideo.com zone is:
> $TTL 3D
> @ IN SOA ns.ermitagemontevideo.com. root.ermitagemontevideo.com. (
> 2002031806 ; serial
> 8H ; refresh
> 2H ; retry
> 4W ; expiry
> 1 ) ; minimum
> NS ns
> MX 10 mail
> localhost A 127.0.0.1
> gw A 200.61.76.65
> ns A 200.61.76.88
> MX 10 mail
Why don't you just write :
IN MX 10 ns.ermitagemontevideo.com. ???
> www CNAME ns
> ftp CNAME ns
> mail CNAME ns --> Here is where I´m not sure. mail is under the same
> IP, but I don't know if I have to write the record as a CNAME or this
> other way:
> mail A 200.61.78.88
> MX 10 mail
> Which is the correct way ? If I have mail and ns under the same ip
> 200.61.76.88,
> should I configure mail as CNAME or as an A record as shown above ?
> Right now is configured as the first case.
> Another question: linux is the gateway to the internal network, this
> computer
>
> linux A 192.168.0.1
> MX 10 mail
> ermitage A 192.168.0.2
> MX 10 mail
> facturacion A 192.168.0.3
> MX 10 mail
> recepcion A 192.168.0.4
> MX 10 mail
> telefono A 192.168.0.5
> MX 10 mail
> internet A 192.168.0.6
> MX 10 mail
> -----------------------------------------------------------------------
> my 200.61.76 zone:
> $TTL 3D
> @ IN SOA ns.ermitagemontevideo.com. root.ermitagemontevideo.com. (
> 2002031806 ; serial
> 8H ; refresh
> 2H ; retry
> 4W ; expiry
> 1D ) ; minimum
> NS ns.ermitagemontevideo.com.
> 65 PTR gw.ermitagemontevideo.com.
> 88 PTR ns.ermitagemontevideo.com.
> 88 PTR mail.ermitagemontevideo.com. <---- I'm not sure about this!
You only need one PTR, and as 'mail' is unneeded drop it.
> -------------------------------------------------------------------------------
> my 192.168.0 zone
>
> $TTL 3D
> @ IN SOA ns.ermitagemontevideo.com. root.ermitagemontevideo.com. (
> 2002031806 ; serial
> 8H ; refresh
> 2H ; retry
> 4W ; expiry
> 1D ) ; minimum
> NS ns.ermitagemontevideo.com.
> 1 PTR linux.ermitagemontevideo.com.
> 2 PTR ermitage.ermitagemontevideo.com.
> 3 PTR facturacion.ermitagemontevideo.com.
> 4 PTR recepcion.ermitagemontevideo.com.
> 5 PTR telefono.ermitagemontevideo.com.
> 6 PTR internet.ermitagemontevideo.com.
> I'm using Bind 9.2
> Any help will be greatly appreciated ...
> Regards,
> Rick
--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.
More information about the bind-users
mailing list