ISPconfig in a home network

Discussion in 'Installation/Configuration' started by zenny, Dec 20, 2006.

  1. zenny

    zenny Member

    # ifconfig
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

    venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
    inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
    UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
    RX packets:9046 errors:0 dropped:0 overruns:0 frame:0
    TX packets:5775 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:10857156 (10.3 MiB) TX bytes:1632689 (1.5 MiB)

    venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
    inet addr:192.168.1.204 P-t-P:192.168.1.204 Bcast:192.168.1.204 Mask:255.255.255.255
    UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

    It is important to note that the server is in the openvz vps behind a shorewall firewall and gateway.

    /etc/hostname contains nothing. And even the file does not exist.

    /etc/hosts has:

    127.0.0.1 localhost.localdomain localhost
    81.xxx.xxx.xxx mydomain.com
    81.xxx.xxx.xxx www.mydomain.com

    where 81.xxx.xxx.xxx.xxx is the external IP (static public IP) of the gateway.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Can you post the real domain name here?
     
  3. zenny

    zenny Member

    aristoli.com

    I am trying to sort it out on my own because I would love to learn how ISPConfig works! ;-)
     
  4. falko

    falko Super Moderator ISPConfig Developer

    I'm getting this:

    Code:
    mh1:~# dig aristoli.com
    
    ; <<>> DiG 9.2.1 <<>> aristoli.com
    ;; global options:  printcmd
    ;; connection timed out; no servers could be reached
    aristoli.com's authoritative name servers are not responding.
    Do you know which are the authoritative name servers for that domain?
     
  5. zenny

    zenny Member

    The nameservers are:

    81.216.65.12 ns1.aristoli.com (the latter defined in the Domain Control Panel of the Domain Registrar)
    81.216.65.11 ns2.aristoli.com

    and the IP address is:

    81.216.202.218

    Thanks again, Falko for taking time.
     
  6. falko

    falko Super Moderator ISPConfig Developer

    The nameservers on 81.216.65.11 and 81.216.65.12 are working:

    Code:
    mh1:~# dig @81.216.65.11 google.de
    
    ; <<>> DiG 9.2.1 <<>> @81.216.65.11 google.de
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58334
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 3
    
    ;; QUESTION SECTION:
    ;google.de.                     IN      A
    
    ;; ANSWER SECTION:
    google.de.              1800    IN      A       66.249.93.104
    google.de.              1800    IN      A       72.14.221.104
    google.de.              1800    IN      A       216.239.59.104
    
    ;; AUTHORITY SECTION:
    google.de.              316273  IN      NS      ns3.google.com.
    google.de.              316273  IN      NS      ns4.google.com.
    google.de.              316273  IN      NS      ns1.google.com.
    google.de.              316273  IN      NS      ns2.google.com.
    
    ;; ADDITIONAL SECTION:
    ns1.google.com.         291679  IN      A       216.239.32.10
    ns3.google.com.         291679  IN      A       216.239.36.10
    ns4.google.com.         291679  IN      A       216.239.38.10
    
    ;; Query time: 109 msec
    ;; SERVER: 81.216.65.11#53(81.216.65.11)
    ;; WHEN: Wed Jan  3 18:16:41 2007
    ;; MSG SIZE  rcvd: 205
    Code:
    mh1:~# dig @81.216.65.12 google.de
    
    ; <<>> DiG 9.2.1 <<>> @81.216.65.12 google.de
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6728
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 4
    
    ;; QUESTION SECTION:
    ;google.de.                     IN      A
    
    ;; ANSWER SECTION:
    google.de.              1800    IN      A       66.249.93.104
    google.de.              1800    IN      A       72.14.221.104
    google.de.              1800    IN      A       216.239.59.104
    
    ;; AUTHORITY SECTION:
    google.de.              234102  IN      NS      ns2.google.com.
    google.de.              234102  IN      NS      ns3.google.com.
    google.de.              234102  IN      NS      ns4.google.com.
    google.de.              234102  IN      NS      ns1.google.com.
    
    ;; ADDITIONAL SECTION:
    ns1.google.com.         265131  IN      A       216.239.32.10
    ns2.google.com.         265131  IN      A       216.239.34.10
    ns3.google.com.         111870  IN      A       216.239.36.10
    ns4.google.com.         265466  IN      A       216.239.38.10
    
    ;; Query time: 90 msec
    ;; SERVER: 81.216.65.12#53(81.216.65.12)
    ;; WHEN: Wed Jan  3 18:16:10 2007
    ;; MSG SIZE  rcvd: 221
    But
    Code:
    dig @81.216.65.12 aristoli.com
    doesn't work. I guess the problem is that your nameservers are in the same domain that they should resolve (ns1/ns2.aristoli.com <-> aristoli.com). It seems you need a glue record: http://en.wikipedia.org/wiki/Dns#Circular_dependencies_and_glue_records
     

Share This Page