DNS problem

Discussion in 'HOWTO-Related Questions' started by satimis, Jan 27, 2012.

  1. satimis

    satimis New Member

    Hi folks,

    DNS problem

    Ubuntu 1010 server
    VirtualBox

    ServerName ub1010ser01 (it was cloned on another VM named ub1010ser00 which hasn't been config used as base for cloning VM)

    Howto:
    The Perfect Server - Ubuntu 10.10 [ISPConfig 3] - Page 4
    http://www.howtoforge.com/perfect-server-ubuntu-10.10-maverick-meerkat-ispconfig-3-p4

    On host terminal:

    # ping ub1010ser01.domain.com
    Code:
    ping: unknown host ub1010ser01.domain.com
    
    # ping 192.168.0.xxx (server IP)
    Code:
    PING 192.168.0.xxx (192.168.0.xxx) 56(84) bytes of data.
    64 bytes from 192.168.0.xxx: icmp_req=1 ttl=64 time=3.65 ms
    64 bytes from 192.168.0.xxx: icmp_req=2 ttl=64 time=0.161 ms
    ....
    
    On server (VM) terminal:
    # cat /etc/resolv.conf
    Code:
    nameserver xxx.xxx.xxx.xxx (ISP nameserver IP)
    nameserver 192.168.0.1
    
    Pls help. TIA

    B.R.
    satimis
     
  2. falko

    falko Super Moderator

    Either add ub1010ser01.domain.com to /etc/hosts on the host, or create a DNS record for it.
     
  3. satimis

    satimis New Member

    Yes. It works here. Thanks

    How to do it?

    B.R.
    satimis
     
  4. falko

    falko Super Moderator

    Create an A or CNAME record on the authoritative nameservers for domain.com.
     
  5. satimis

    satimis New Member

    Whether you meant to do it on domain register's website?

    Could you please explain in more detail? Thanks.

    satimis
     
  6. falko

    falko Super Moderator

    You can find out the authoritative nameservers for your domain like this:
    Code:
    dig ns yourdomain.com
     

Share This Page