MX records and Nslookup
Brian Salomaki
brian at gambitdesign.com
Thu Oct 4 19:51:30 UTC 2001
Hmm...call me crazy, but you might want to change your secret :)
Usually, it's accepted practice to obscure your secret, since that's private
information, but to give us the domain names, since DNS information is
inherently public. If we try to look at your problem, and run queries
against ns1.seconddomain.com, we probably won't be able to help you, since
you obscured it. Please give us some real domain names, and generate a new
rndc key.
On Thursday 04 October 2001 12:22 pm, Deepiceman wrote:
> Ok Guys here is the problem that i am facing. i have a couple zones
> setup on my dns server. I think that all the records are upto date and
> when i go through nslookup i don't get any errors. but today i
> actually sent a mail to myself on one of these zones, but it came back
> - undeliverable ... cannot find mail.mydomain.com so i put looked it
> up and couldnt figure out what was wrong. after a while when i send
> mail it goes out but does get returned and doesnt even get to the
> recipient. so i am pasting my zone files for you to look at.
>
> ***************************************
>
> My DNS server host name is ns1.seconddomain.com
> My mail server host name is mail.mydomain.com
>
> NS1 207.224.36.pqr
> mail 24.221.80.xyz
> webserver is on 24.221.80.ab
>
> ***************************************
> Named.conf
>
> options {
> directory "/var/named";
> };
>
> zone "." IN {
> type hint;
> file "named.ca";
> };
>
> zone "mydomain.com" IN {
> type master;
> file "mydomain.com.zone";
> allow-update { none; };
> };
>
> zone "seconddomain.com" IN {
> type master;
> file "seconddomain.com.zone";
> allow-update { none; };
> };
>
> zone "thirddomian.com" IN {
> type master;
> file "thirddomain.com.zone";
> allow-update { none; };
> };
>
> zone "localhost" IN {
> type master;
> file "localhost.zone";
> allow-update { none; };
> };
>
> zone "36.224.207.in-addr.arpa" IN {
> type master;
> file "207.224.36";
> allow-update { none; };
> };
>
> zone "80.221.24.in-addr.arpa" IN {
> type master;
> file "24.221.80";
> allow-update { none; };
> };
>
> zone "0.0.127.in-addr.arpa" IN {
> type master;
> file "named.local";
> allow-update { none; };
> };
> key "key" {
> algorithm hmac-md5;
> secret
> "PlimwJzDnkLBLmmTliEhfeXftRzYimAcWGWnlBaqGvnGfOUmAwhnaqOpMbGI"; };
>
>
>
> ***********************************************************
> mydomain.com
>
> $TTL 10800
> @ IN SOA ns1.seconddomain.com. webmaster.seconddomain.com. (
> 1 ; Serial number
> 10800 ; Refresh after 3 hours
> 3600 ; Retry hourly
> 604800 ; Expire after a week
> 10800 ; Time to live is 3 hours
> )
>
> IN NS ns1.seconddomain.com.
> IN MX 5 mail.mydomain.com.
> localhost IN A 127.0.0.1
> ns1 IN A 207.224.36.pqr
> mail IN A 24.221.80.xyz
>
> ***********************************************************
> seconddomian.com
>
>
> $TTL 10800
> @ IN SOA ns1.seconddomain.com. webmaster.seconddomain.com. (
> 1 ; Serial number
> 10800 ; Refresh after 3 hours
> 3600 ; Retry hourly
> 604800 ; Expire after a week
> 10800 ; Time to live is 3 hours
> )
>
> IN NS ns1.seconddomain.com.
> IN MX 5 mail.seconddomain.com.
> localhost IN A 127.0.0.1
> web.seconddomain.com IN A 24.221.80.ab
> mail.seconddomain.com IN A 24.221.80.xyz
> www.seconddomain.com IN CNAME 24.221.80.ab
>
>
> ***************************************************************
>
> thirddomian.com is the same as second domain ... just change the
> second to third
>
> **************************************************************
>
> reverse zone 24.221.80
>
> $TTL 10800
> @ IN SOA ns1.seconddomain.com. webmaster.seconddomain.com. (
> 1 ; Serial
> 10800 ; Refresh after 3 hours
> 3600 ; Retry hourly
> 604800 ; Expire after a week
> 10800 ; Time to live is 3 hours
> )
>
> IN NS ns1.seconddomain.com.
> 1.1 IN PTR mail.mydomain.com.
>
> ***************************************************
>
> reverse zone 207.224.36
>
> $TTL 10800
> @ IN SOA ns1.seconddomain.com. webmaster.seconddomain.com. (
> 1 ; Serial
> 10800 ; Refresh after 3 hours
> 3600 ; Retry hourly
> 604800 ; Expire after a week
> 10800 ; Time to live is 3 hours
> )
>
> IN NS ns1.seconddomain.com.
> 1.1 IN PTR ns1.seconddomain.com.
> 1.2 IN PTR mail.mydomain.com.
> 1.3 IN PTR mail.seconddomain.com.
> 1.4 IN PTR mail.thirddomain.com.
> 1.5 IN PTR www.seconddomain.com.
>
> ***********************************************
>
> That all i have for now.
>
> Thanks in advance
--
Brian Salomaki
Gambit Design Internet Services
110 E. State St., Suite 18, Kennett Square, PA 19348
DNSbox: http://gambitdesign.com
More information about the bind-users
mailing list