Spamsnake RDNS question

Discussion in 'HOWTO-Related Questions' started by twink_dakid, Sep 23, 2008.

  1. twink_dakid

    twink_dakid New Member

    These are my first real linux installs so bear with me...

    My internal network (say 10 dot) has my sole exchange 2003 server. It is published to the DMZ via ISA 2006. I just added a spamsnake server to the DMZ and replaced the DNS box with ubuntu and bind9 as well. So all 3 sit with outside world ip's and everything is great until I email certain servers. Failed RNDS on 192.168.0.164 is the reply. I did not setup the dns right I think. So here is the setup:
    NS dns.sample.com 192.168.0.162

    MX spam.sample.com 192.168.0.163

    A dns.sample.com 192.168.0.162
    A spam.sample.com 192.168.0.163
    A isa.sample.com 192.168.0.164

    My reverse lookup zone 160.0.168.192.arp shows the same.
    btw subnet is 255.255.255.224 if you wonder.

    So what am I missing? Is the problem DNS, spamsnake config or ISA?

    Thank you for any help
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Why are you using private IPs in your zones?
     
  3. twink_dakid

    twink_dakid New Member

    Sorry about the confusion. The 192 range is just a place holder. I am using real external IP's for those addresses.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Is your DNS server authoritative for your domain, or is it maybe another name server?
     
  5. twink_dakid

    twink_dakid New Member

    Nope, I control the only DNS entries. I even double checked from home. As an experiment I made an additional MX record:
    sample.com. IN MX 10 spam.sample.com
    sample.com. IN MX 20 isa.sample.com
    but still the error... I am beginning to think the problem is a dns issue. Bind is still very new to me.

    vi /etc/bind/zones/rev.160.0.168.192.in-addr.arpa
    @ IN SOA dns.sample.com. twink_dakid.sample.com. (
    2007031001;
    28800;
    604800;
    604800;
    86400;
    )

    IN NS dns.sample.com.
    162 IN PTR dns.sample.com.
    163 IN PTR spam.sample.com.
    164 IN PTR isa.sample.com.

    I tried to copy everything down to the last dot. If anyone sees anything please let me know.

    Falko, thank you for the help so far...
     
  6. falko

    falko Super Moderator Howtoforge Staff

    I think you've missed the dot at the end. It shold rather look like this:
    Code:
    sample.com.	IN	MX	10 spam.sample.com[B][COLOR="Red"].[/COLOR][/B]
    sample.com.	IN	MX	20 isa.sample.com[B][COLOR="Red"].[/COLOR][/B]
     

Share This Page