Find the answer to your Linux question:
Results 1 to 4 of 4
my machine is debian sarge 3.1, at client, I success connect http://cartonus.com , but can't connect http://www.cartonus.com Code: cat /etc/bind/db.cartonus.com $TTL 604800 @ IN SOA cartonus.com. root.cartonus.com. ( 1 ; ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    40

    dns can't connect by www


    my machine is debian sarge 3.1,

    at client,
    I success connect http://cartonus.com, but can't connect http://www.cartonus.com

    Code:
    cat /etc/bind/db.cartonus.com
    $TTL    604800
    @       IN      SOA     cartonus.com. root.cartonus.com. (
                                  1         ; Serial
                             604800         ; Refresh
                              86400         ; Retry
                            2419200         ; Expire
                             604800 )       ; Negative Cache TTL
    ;
    @       IN      NS      cartonus.com.
    @       IN      A       203.aa.bb.cc
    dns     IN      A       203.aa.bb.cc
    www     IN      A       203.aa.bb.cc
    ftp     IN      A       203.aa.bb.cc

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,877
    This could be any number of problems:

    Is this DNS server open to public use? (i.e. are you hosting your own domain?) It could be that your system is asking your ISP's DNS server and getting a 'not known' response for the www address.

    Does your web access go through a squid proxy (check proxy settings in your browser)? It could be asking internet nameservers that have no idea about your internal IP address structure, and even though your machine can sucessfully look up the www address, your proxy server (which your browser is asking for the pages) cant.

    Is your DNS server actually running? Did you restart named after you changed the config?

    Is the web server running? You dont have any firewalling service blocking access to port 80 on the web server machine do you?
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    Aug 2005
    Posts
    40
    Quote Originally Posted by Roxoff
    This could be any number of problems:

    Is this DNS server open to public use? (i.e. are you hosting your own domain?) It could be that your system is asking your ISP's DNS server and getting a 'not known' response for the www address.

    Does your web access go through a squid proxy (check proxy settings in your browser)? It could be asking internet nameservers that have no idea about your internal IP address structure, and even though your machine can sucessfully look up the www address, your proxy server (which your browser is asking for the pages) cant.

    Is your DNS server actually running? Did you restart named after you changed the config?

    Is the web server running? You dont have any firewalling service blocking access to port 80 on the web server machine do you?
    1) It comes to normal now.
    2) It may cause by cache or something else. it returns to normal after
    restart dns, restart apache, restart proxy at client, clear the cache at client and reboot both finally.

  4. #4
    Just Joined!
    Join Date
    Mar 2005
    Location
    WA, Australia
    Posts
    14
    interesting topic... my dynamic DNS does the same thing... except that i'm sure it used to work with the www. I went to update the IP adress one day and at first i though it hadnt worked... then i realised it worked but without the www. weird... anyone know why that would happen?

Posting Permissions

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