DNS MX record and Postfix Relay host of ISP

Dawn Connelly dawn.connelly at gmail.com
Sat Aug 16 17:55:49 UTC 2008


Um, okay. Let me see if I'm understanding this correctly. The FQDN of your
mail server is mails.coreteamsolutions.in which resolves to 207.106.22.3.
Your MX record points to that FQDN, but it's actually a CNAME. That's
problem number 1. MX records aren't very happy with CNAME records. You need
to get your DNS provider to make it an A record instead.
I'm not sure what you are expecting with the 192.168.1.202 resolution. That
is private IP address space. As far as the internet as concerned, that IP
address doesn't exist. If you need that IP address to resolve, you need to
make your DNS server authoritative for that zone. No amount of magic is
going to make that work without you being authoritative. If you are trying
to make sure that your foward and reverse records match, you are going to
need to get RapiDNS.com to change the PTR record for 207.106.22.3 to resolve
to mails.coreteamsolutions.in. They own that IP address space.

On Sat, Aug 16, 2008 at 10:33 AM, Sharad Kanekar
<sharad.kanekar at yahoo.com>wrote:

> [root at mails ~]# dig -x 192.168.1.202
>
> ; <<>> DiG 9.3.4-P1 <<>> -x 192.168.1.202
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 48178
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>
> ;; QUESTION SECTION:
> ;202.1.168.192.in-addr.arpa.    IN      PTR
>
> ;; AUTHORITY SECTION:
> 168.192.in-addr.arpa.   8497    IN      SOA     prisoner..iana.org.
> hostmaster.root-servers.org. 1 1800 900 604800 604800
>
> ;; Query time: 319 msec
> ;; SERVER: 168.95.1.1#53(168.95.1.1)<http://168.95.1.1#53%28168.95.1.1%29>
> ;; WHEN: Sat Aug 16 22:59:08 2008
> ;; MSG SIZE  rcvd: 121
>
> [root at mails ~]# dig mails.coreteamsolutions.in
>
> ; <<>> DiG 9.3.4-P1 <<>> mails.coreteamsolutions.in
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31876
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 2
>
> ;; QUESTION SECTION:
> ;mails.coreteamsolutions.in.    IN      A
>
> ;; ANSWER SECTION:
> mails.coreteamsolutions.in. 86400 IN    CNAME   rapidns.com.
> rapidns.com.            86400   IN      A       207.106.22.3
>
> ;; AUTHORITY SECTION:
> rapidns.com.            86400   IN      NS      ns2.rapidns.com.
> rapidns.com.            86400   IN      NS      ns1.rapidns.com.
>
> ;; ADDITIONAL SECTION:
> ns2.rapidns.com.        163390  IN      A       66.7.149.52
> ns1.rapidns.com.        163390  IN      A       207.106.22.124
>
> ;; Query time: 841 msec
> ;; SERVER: 168.95.1.1#53(168.95.1.1)<http://168.95.1.1#53%28168.95.1.1%29>
> ;; WHEN: Sat Aug 16 22:59:40 2008
> ;; MSG SIZE  rcvd: 179
>
> [root at mails ~]# nslookup -sil 192.168.1.202
> Server:         168.95.1.1
> Address:        168.95.1.1#53
>
> ** server can't find 202.1.168.192.in-addr.arpa: NXDOMAIN
>
> [root at mails ~]# nslookup -sil mails.coreteamsolutions.in
> ;; Got SERVFAIL reply from 192..168.1.202, trying next server
> Server:         168.95.1.1
> Address:        168.95.1.1#53
>
> Non-authoritative answer:
> mails.coreteamsolutions.in      canonical name = rapidns.com.
> Name:   rapidns.com
> Address: 207.106.22.3
>
> and Postfix server configuration is:
>
> [root at mails ~]# postconf -n
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> daemon_directory = /usr/libexec/postfix
> debug_peer_level = 2
> html_directory = no
> inet_interfaces = all
> mail_owner = postfix
> mail_spool_directory = /var/spool/mail
> mailq_path = /usr/bin/mailq.postfix
> manpage_directory = /usr/share/man
> mydestination = $myhostname, localhost.$mydomain, localhost
> mydomain = coreteamsolutions.in
> myhostname = mails.coreteamsolutions.in
> mynetworks = 192.168.1.0/24, 127.0.0.0/8
> mynetworks_style = subnet
> myorigin = $myhostname
> newaliases_path = /usr/bin/newaliases.postfix
> queue_directory = /var/spool/postfix
> readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
> relayhost = 66.7.148.25
> sample_directory = /usr/share/doc/postfix-2.3.3/samples
> sendmail_path = /usr/sbin/sendmail.postfix
> setgid_group = postdrop
> unknown_local_recipient_reject_code = 550
> [root at mails ~]#
>
>  Please help me to rectify the problem
> Thanks
>
> ----- Original Message ----
> From: Dawn Connelly <dawn.connelly at gmail.com>
> To: Sharad Kanekar <sharad.kanekar at yahoo.com>
> Cc: bind-users at isc.org
> Sent: Saturday, 16 August, 2008 10:27:37 PM
> Subject: Re: (no subject)
>
> How to configure DNS is a question that would take volumes to answer. Can
> you be more specific? What part of DNS are you trying to configure? I'm
> assuming you have at least tried and it didn't work. What kind of error
> messages/unexpected behaviors are you getting? We'd all love to help but you
> gotta point the cannon in the right direction.
>
> On Sat, Aug 16, 2008 at 8:22 AM, Sharad Kanekar <sharad.kanekar at yahoo.com>wrote:
>
>> Dear All,
>>              I  want to configure DNS for mailserver and use this
>> mailserver to send and receive mail for my domain and relay mails through
>> ISP's relay. So please help me that how do I configure DNS I am using CentOS
>> 5.2 and Postfix 2.3.3-2.
>> Thanks .
>>
>>
>>
>>      Unlimited freedom, unlimited storage. Get it now, on
>> http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
>>
>>
>
> ------------------------------
> Get an email ID as yourname at ymail.com or yourname at rocketmail.com. Click
> here..<http://in.rd.yahoo.com/tagline_dbid_4/*http://in.promos.yahoo.com/address>
>




More information about the bind-users mailing list