#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    33
    Rep Power
    11

    can someone check my DNS setup?


    ok.. i put my own nameserver:
    ns1.merrytech.com.mx
    ip: 63.70.73.73
    linux 9.0 hostname= ns1.merrytech.com.mx


    i wan't to setup web page:
    www.merrytech.com.mx and email;
    user@merrytech.com.mx

    so... this is what i got so far..

    the config files are:
    file:/etc/named.conf

    controls {
    inet 127.0.0.1 allow { localhost; } keys { rndckey; };
    };

    include "/etc/named.custom";

    include "/etc/rndc.key";

    zone "0.0.127.in-addr.arpa" {
    type master;
    file "0.0.127.in-addr.arpa.zone";
    };
    zone "73.70.63.in-addr.arpa" {
    type master;
    file "73.70.63.in-addr.arpa.zone";
    };

    zone "localhost" {
    type master;
    file "localhost.zone";
    };
    zone "merrytech.com.mx" {
    type master;
    file "merrytech.com.mx.zone";
    };

    file:/etc/resolve.conf

    search merrytech.com.mx

    nameserver 63.70.73.73
    nameserver 207.17.190.5
    nameserver 198.6.1.2


    207.17.190.5 dns ISP (for internet)
    198.6.1.2 dns2 ISP (for internet)

    file:/var/named/0.0.127.in-addr.arpa.zone

    $TTL 86400
    @ IN SOA localhost. root.localhost (
    9 ; serial
    28800 ; refresh
    7200 ; retry
    604800 ; expire
    86400 ; ttk
    )

    @ IN NS localhost.
    1 IN PTR localhost.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    33
    Rep Power
    11
    file:/var/named/73.70.63.in-addr.arpa.zone

    $TTL 86400
    @ IN SOA ns1.merrytech.com.mx. sistemas.merrytech.com.mx (
    19 ; serial
    28800 ; refresh
    7200 ; retry
    604800 ; expire
    86400 ; ttk
    )


    @ IN NS ns1.merrytech.com.mx.

    73 IN PTR merrytech.com.mx.
    73 IN PTR www.
    73 IN PTR ns1.merrytech.com.mx.


    file:/var/named/localhost.zone

    $TTL 86400
    @ IN SOA ns1.merrytech.com.mx. root.localhost (
    1 ; serial
    28800 ; refresh
    7200 ; retry
    604800 ; expire
    86400 ; ttl
    )


    IN NS localhost.


    @ IN A 127.0.0.1

    file:/var/named/merrytech.com.mx.zone

    $TTL 86400
    @ IN SOA ns1.merrytech.com.mx. sistemas.merrytech.com.mx (
    60 ; serial
    28800 ; refresh
    7200 ; retry
    604800 ; expire
    86400 ; ttl
    )


    IN NS ns1.merrytech.com.mx.

    @ IN MX 1 ns1.merrytech.com.mx

    @ IN A 63.70.73.73
    www IN A 63.70.73.73
    ns1.merrytech.com.mx IN A 63.70.73.73

    file:/var/named/named.local

    $TTL 86400
    @ IN SOA localhost. root.localhost. (
    1997022700 ; Serial
    28800 ; Refresh
    14400 ; Retry
    3600000 ; Expire
    86400 ) ; Minimum
    IN NS localhost.

    1 IN PTR localhost.


    AND file:/var/named.ca

    DEFAULT ONE...


    can someone help.. pliz??
  4. #3
  5. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    Location
    London, UK
    Posts
    2,019
    Rep Power
    16
    file:/var/named/merrytech.com.mx.zone

    $TTL 86400
    \@ IN SOA ns1.merrytech.com.mx. sistemas.merrytech.com.mx (
    60 ; serial
    28800 ; refresh
    7200 ; retry
    604800 ; expire
    86400 ; ttl
    )
    ...

    @ IN MX 1 ns1.merrytech.com.mx

    @ IN A 63.70.73.73
    www IN A 63.70.73.73
    ns1.merrytech.com.mx IN A 63.70.73.73
    There needs to be dot at the end of sistemas.merrytech.com.mx. and after ns1.merrytech.com.mx

    Currently I get this when I do an MX lookup for merrytech.com.mx:
    Code:
    [root@server1 /root]# dnsqr mx merrytech.com.mx
    15 merrytech.com.mx:
    105 bytes, 1+1+1+1 records, response, noerror
    query: 15 merrytech.com.mx
    answer: merrytech.com.mx 86066 MX 1 ns1.merrytech.com.mx.merrytech.com.mx
    authority: merrytech.com.mx 86066 NS ns1.merrytech.com.mx
    additional: ns1.merrytech.com.mx.merrytech.com.mx 86066 A 63.70.73.73
    [root@server1 /root]#
    Note the extra .merrytech.com.mx being appended - that's the result of missing off the .'s in your zone file. Note you must reload BIND after making these changes to your zone files.
    Alex
    (http://www.alex-greg.com)
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    33
    Rep Power
    11
    $TTL 86400
    @ IN SOA ns1.merrytech.com.mx. sistemas.merrytech.com.mx. (
    60 ; serial
    28800 ; refresh
    7200 ; retry
    604800 ; expire
    86400 ; ttl
    )


    IN NS ns1.merrytech.com.mx.

    @ IN MX 1 ns1.merrytech.com.mx.

    www IN A 63.70.73.73
    ns1.merrytech.com.mx. IN A 63.70.73.73
    @ IN A 63.70.73.73



    how about now??
    can u check again pliz?
  8. #5
  9. Full Access
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jun 2000
    Location
    London, UK
    Posts
    2,019
    Rep Power
    16
    Code:
    [root@server1 /root]# dnsq mx merrytech.com.mx 63.70.73.73
    15 merrytech.com.mx:
    84 bytes, 1+1+1+1 records, response, authoritative, weird ra, noerror
    query: 15 merrytech.com.mx
    answer: merrytech.com.mx 86400 MX 1 ns1.merrytech.com.mx
    authority: merrytech.com.mx 86400 NS ns1.merrytech.com.mx
    additional: ns1.merrytech.com.mx 86400 A 63.70.73.73
    [root@server1 /root]#
    Fixed

    Note this information may take 24 hours to propagate around the internet - I know it's working because I queried your server directly.
    Alex
    (http://www.alex-greg.com)
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    33
    Rep Power
    11
    but now i'm getting an error at
    www.dnsstuff.com

    in the option Reverse DNS for 63.70.73.73


    *ERROR* A Record does not point back to original IP

    i didn't get this error before... ;(
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    33
    Rep Power
    11
    is someone playing with me??

    now i don't have an error???

    explain this pliz...
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    33
    Rep Power
    11
    ok.. think i understand a little more..

    there was an error reporting.. beacuse i was connecting to a server that didn't updated yet! to my new config files.. right??

    ok..

    now i do a www.dnsreport.com an Email TEST, and aldo a www.dnsstuff.com reverse dns test and everythings seems fine..

    please check this..

    So.. in theory and in practice... my DNS, Nameserver, Email are setup correctly??

    i got back the emails i sent to coppel.com !!

    From: Mail Delivery Subsystem <MAILER-DAEMON@ns1.merrytech.com.mx>
    To: sistemas@merrytech.com.mx
    Subject: Warning: could not send message for past 4 hours
    Date: Thu, 17 Jul 2003 21:09:07 -0700
    **********************************************
    ** THIS IS A WARNING MESSAGE ONLY **
    ** YOU DO NOT NEED TO RESEND YOUR MESSAGE **
    **********************************************

    The original message was received at Thu, 17 Jul 2003 17:02:13 -0700
    from root@localhost

    ----- Transcript of session follows -----
    451 coppel.com: Name server timeout
    Warning: message still undelivered after 4 hours
    Will keep trying until message is 5 days old

    Reporting-MTA: dns; ns1.merrytech.com.mx
    Arrival-Date: Thu, 17 Jul 2003 17:02:13 -0700

    Final-Recipient: RFC822; hmaldonado@coppel.com
    Action: delayed
    Status: 4.4.3
    Last-Attempt-Date: Thu, 17 Jul 2003 21:09:07 -0700
    Will-Retry-Until: Tue, 22 Jul 2003 17:02:13 -0700

    NOW i think theres still a problem with my reverse DNS...

    <MAILER-DAEMON@ns1.merrytech.com.mx>

    this doesn't have to B <MAILER-DAEMON@ns1.merrytech.com.mx>

    the only thing i can think off is the REVERSE DNS .. but where's the problem?>>>??

    any1 want to check out my sendmail.mc??
  16. #9
  17. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    33
    Rep Power
    11
    i men't!!

    "this doesn't have to B <MAILER-DAEMON@merrytech.com.mx>
    ""

    ??????

IMN logo majestic logo threadwatch logo seochat tools logo