Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2004
    Posts
    67

    DNS Resolution Problem (sometimes, randomly)

    OK, I know most people hide their IP's and Domain when asking for help, but I don't know a good way to explain mine without including them.

    I have 2 domains on a machine currently, one domain is also used for the 2 nameserver addresses (Yes I know, same machine - bad - but this isn't mission critical, and I'm cheap) - ns1.bretthoerner.com, ns2.bretthoerner.com

    Both domains have the same named conf except for the obvious domain name change, ie:

    Code:
    $TTL 3D
    @       IN      SOA     ns1.bretthoerner.com. hostmaster.bretthoerner.com. (
                            199802151       ; serial, todays date + todays serial #
                            8H              ; refresh, seconds
                            2H              ; retry, seconds
                            4W              ; expire, seconds
                            1D )            ; minimum, seconds
                                            NS      72.36.191.186
                                            A       72.36.191.186
    localhost               14400   IN      A       127.0.0.1
    www                     14400   IN      A       72.36.191.186
    ftp                     14400   IN      A       72.36.191.186
    bretthoerner.com.       14400   IN      MX      0       bretthoerner.com.
    mail                    14400   IN      CNAME   bretthoerner.com.
    augur                   14400   IN      A       72.36.191.186
    Code:
    $TTL 3D
    @       IN      SOA     ns1.bretthoerner.com. hostmaster.postfarm.net. (
                            199802151       ; serial, todays date + todays serial #
                            8H              ; refresh, seconds
                            2H              ; retry, seconds
                            4W              ; expire, seconds
                            1D )            ; minimum, seconds
                                            NS      72.36.191.186
                                            A       72.36.191.186
    localhost               14400   IN      A       127.0.0.1
    www                     14400   IN      A       72.36.191.186
    ftp                     14400   IN      A       72.36.191.186
    postfarm.net.           14400   IN      MX      0       postfarm.net.
    mail                    14400   IN      CNAME   postfarm.net.
    augur                   14400   IN      A       72.36.191.186
    Anyways, all the DNS settings on my server and the registrar have been set for a week and half, nothing should be changing anymore. The problem is, www.bretthoerner.com always works, always, no problems at all. But www.postfarm.net doesn't resolve half of the time, like right now (this morning) - yesterday it resolved fine, and right now other users in different areas of the US are still resolving fine (caches? dunno) I cannot figure out why www.postfarm.net would not be resolving, it's definitly DNS because I can't ping - it isn't as if apache is refusing the connection, it isn't even getting there.

    I've tried using dnsstuff.com and both of them look fine from what I see... can anyone give me some guidance/ideas?

  2. #2
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    From whois for postfarm.net it is pointing to:
    Domain servers in listed order:
    NS2.BRETTHOERNER.COM
    NS1.BRETTHOERNER.COM
    Whereby in your domain zone for bretthoerner.com, I can't find any ns1 and ns2 A records?
    Code:
    $ dig www.postfarm.net @ns2.bretthoerner.com
    
    ; <<>> DiG 9.3.1 <<>> www.postfarm.net @ns2.bretthoerner.com
    ; (1 server found)
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38039
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;www.postfarm.net.              IN      A
    
    ;; ANSWER SECTION:
    www.postfarm.net.       14400   IN      A       72.36.191.186
    
    ;; AUTHORITY SECTION:
    postfarm.net.           259200  IN      NS      72.36.191.186.postfarm.net.
    
    ;; Query time: 296 msec
    ;; SERVER: 72.36.191.186#53(72.36.191.186)
    ;; WHEN: Thu Jul 28 22:16:12 2005
    ;; MSG SIZE  rcvd: 78
    
    $ dig www.postfarm.net @ns1.bretthoerner.com
    
    ; <<>> DiG 9.3.1 <<>> www.postfarm.net @ns1.bretthoerner.com
    ; (2 servers found)
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14017
    ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;www.postfarm.net.              IN      A
    
    ;; ANSWER SECTION:
    www.postfarm.net.       14400   IN      A       72.36.191.186
    
    ;; AUTHORITY SECTION:
    postfarm.net.           259200  IN      NS      72.36.191.186.postfarm.net.
    
    ;; Query time: 401 msec
    ;; SERVER: 72.36.191.187#53(72.36.191.187)
    ;; WHEN: Thu Jul 28 22:16:22 2005
    ;; MSG SIZE  rcvd: 78
    Giam Teck Choon
    :: Join choon.net Community today to share your tips and tricks on server issues please ::
    :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::

  3. #3
    Join Date
    Dec 2004
    Posts
    67
    Well, this is what I have for postfarm zone info,

    Code:
    $TTL 3D
    @       IN      SOA     ns1.bretthoerner.com. hostmaster.postfarm.net. (
                            199802151       ; serial, todays date + todays serial #
                            8H              ; refresh, seconds
                            2H              ; retry, seconds
                            4W              ; expire, seconds
                            1D )            ; minimum, seconds
                                            NS      72.36.191.186
                                            A       72.36.191.186
    localhost               14400   IN      A       127.0.0.1
    www                     14400   IN      A       72.36.191.186
    ftp                     14400   IN      A       72.36.191.186
    postfarm.net.           14400   IN      MX      0       postfarm.net.
    mail                    14400   IN      CNAME   postfarm.net.
    augur                   14400   IN      A       72.36.191.186
    I'm not sure what I need to add / remove.

    Code:
    postfarm.net.     14400   IN  NS    ns1.bretthoerner.com.
    or do you mean literally a record named ns1 and ns2?

    Code:
    ns1     14400   ... ?? would this point to ns1.bretthoerner.com or...?

  4. #4
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    Not postfarm zone info, it is your bretthoerner.com zone...
    what is your ns1.bretthoerner.com and ns2.bretthoerner.com IPs? Don't tell me they are the same? And your serial number is very old heh... ...
    Giam Teck Choon
    :: Join choon.net Community today to share your tips and tricks on server issues please ::
    :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::

  5. #5
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    See http://www.dnsreport.com/tools/dnsre...n=postfarm.net with those ERROR (in RED)... ... hope this helps
    Giam Teck Choon
    :: Join choon.net Community today to share your tips and tricks on server issues please ::
    :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::

  6. #6
    Join Date
    Dec 2004
    Posts
    67
    They aren't the same IP, I'll check that link out - Thanks.

  7. #7
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    Try this for bretthoerner.com zone:
    Code:
    ; Zone file for bretthoerner.com
    $TTL 14400
    @      IN      SOA     ns1.bretthoerner.com. hostmaster.bretthoerner.com. (
    		2005072702  ; serial, todays date+todays
    		14400           ; refresh, seconds
    		7200            ; retry, seconds
    		3600000         ; expire, seconds
    		86400 )         ; minimum, seconds
    
    bretthoerner.com.	IN	NS	ns1.bretthoerner.com.
    bretthoerner.com.	IN	NS	ns2.bretthoerner.com.
    ns1			IN	A	72.36.191.187
    ns2			IN	A	72.36.191.186
    bretthoerner.com.	IN	A	72.36.191.186
    localhost		IN	A	127.0.0.1
    www			IN	A	72.36.191.186
    ftp			IN	A	72.36.191.186
    bretthoerner.com.	IN	MX	0	bretthoerner.com.
    mail			IN	CNAME	bretthoerner.com.
    augur			IN	A	72.36.191.186
    Now can you figure out on your other one?

    EDITED: Add in A record for bretthoerner.com
    Last edited by choon; 07-28-2005 at 11:43 AM.
    Giam Teck Choon
    :: Join choon.net Community today to share your tips and tricks on server issues please ::
    :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::

  8. #8
    Join Date
    Dec 2004
    Posts
    67
    Originally posted by choon
    Now can you figure out on your other one?
    Yeah, I think I got them both now. Thanks a ton for that... the only thing now is that it still hangs on the MX, but I haven't worked on the mail stuff at all yet.

    Also, what did you mean by,
    And your serial number is very old heh... ...

  9. #9
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    Can you see:
    Code:
    ; Zone file for bretthoerner.com
    $TTL 14400
    @      IN      SOA     ns1.bretthoerner.com. hostmaster.bretthoerner.com. (
    		2005072702  ; serial, todays date+todays
    		14400           ; refresh, seconds
    		7200            ; retry, seconds
    		3600000         ; expire, seconds
    		86400 )         ; minimum, seconds
    so on
    And do a compare with your original one? That is what I mean by your serial number old heh...

    It will be good that you pick up some DNS/BIND books to read about what it is all about though
    Giam Teck Choon
    :: Join choon.net Community today to share your tips and tricks on server issues please ::
    :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::

  10. #10
    Join Date
    Dec 2004
    Posts
    67
    Oh, crap, I read "ODD", my bad. Yeah, I copied my original from a few "how to"'s I found online. I'd get books, but this seems to work, and I'm not really running it for a business/mission critical.

Posting Permissions

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