Results 1 to 5 of 5
  1. #1

    Is my dns setup correctly? (www.) /var/named/domain.hosts dump

    Code:
    $ttl 38400
    mydomain.com.	IN	SOA	mydomain. email.mydomain.com. (
    			1118517262
    			10800
    			3600
    			604800
    			38400 )
    mydomain.com.	IN	NS	mydomain.
    ns1.mydomain.com.	IN	A	111.222.333.444
    ns2.mydomain.com.	IN	A	111.222.333.444
    mydomain.com.	IN	A	111.222.333.444
    ns1.mydomain.com.	IN	NS	111.222.333.444
    ns2.mydomain.com.	IN	NS	111.222.333.444
    www.mydomain.com.	IN	A	111.222.333.444
    testing.mydomain.com.	IN	A	111.222.333.444
    Is this setup correctly? Because sometimes I can ping the mydomain.com and not www.mydomain.com ?

    This is a dump from /var/named/mp3realm.hosts

    I am using Bind 9
    <<Please see rules for signature setup>>

  2. #2
    Join Date
    Oct 2002
    Location
    State of Disbelief
    Posts
    22,951
    mydomain.com. IN NS mydomain.
    This appears incorrect, unless the SOA nameserver is "mydomain". The "." at the end means it doesn't have the "domain.com" added to it, so it's just "mydomain".
    In addition, you have no MX records, it would seem, so mail probably won't get delivered.
    Having problems, or maybe questions about WHT? Head over to the help desk!

  3. #3
    Quote Originally Posted by bear
    This appears incorrect, unless the SOA nameserver is "mydomain". The "." at the end means it doesn't have the "domain.com" added to it, so it's just "mydomain".
    In addition, you have no MX records, it would seem, so mail probably won't get delivered.
    Yes I am aware of the mail records, but is www. setup right?
    <<Please see rules for signature setup>>

  4. #4
    Join Date
    Oct 2002
    Location
    State of Disbelief
    Posts
    22,951
    No, I don't believe so.
    mydomain.com. IN SOA ns1.mydomain.com. email.mydomain.com. (
    1118517262
    10800
    3600
    604800
    38400 )
    ns1.mydomain.com. IN A 111.222.333.444
    ns2.mydomain.com. IN A 111.222.333.555
    mydomain.com. IN A 111.222.333.444
    mydomain.com. IN NS ns1.mydomain.com.
    mydomain.com. IN NS ns2.mydomain.com.
    www.mydomain.com. IN A 111.222.333.444
    testing.mydomain.com. IN A 111.222.333.444
    This would be more like it, I think.
    Last edited by bear; 11-18-2005 at 12:58 PM.
    Having problems, or maybe questions about WHT? Head over to the help desk!

  5. #5
    I will try it. Thank you Bear
    <<Please see rules for signature setup>>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •