Find the answer to your Linux question:
Results 1 to 3 of 3
Hello guys! I have a problem. Don't work nslookup from clients guest OS I have LinuxMint 7 and I'm installed VirtualBox on her. I created three guests OS. Two CentOS ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009
    Location
    Vladivostok, Russia
    Posts
    18

    CentOS 5.3 BIND and nslookup


    Hello guys!
    I have a problem. Don't work nslookup from clients guest OS

    I have LinuxMint 7 and I'm installed VirtualBox on her. I created three guests OS. Two CentOS and XP
    Name
    The first CentOS linux1.starline.ca (in the ending "ca" I need use a point? I didn't use) Example linux1.starline.ca.
    The second CentOS centos.starline.ca
    The third XP xp2.starline.ca
    On the first CentOS(linux1.starline.ca) I installed BIND and graphical utility for use BIND(system-config-bind)
    Created zone starline.ca.
    Record SOA
    In the line Authoritative Name Server I wrote linux1.starline.ca.
    Record NS
    In the line Domin Name write starline.ca. (I can't change that)
    In the line Sever Domin Name I wrote linux.starline.ca.
    Crated record A
    In the line Domin Name I wrote linux1.starline.ca.
    IP 168.135.88.2
    have a tick Create Reverse Mapping Record
    Created record A
    В строке Domin Name I wrote centos.starline.ca.
    IP 168.135.88.100
    have a tick Create Reverse Mapping Record
    Created record A
    In the line Domin Name I wrote xp2.starline.ca.
    IP 168.135.88.20
    have a tick Create Reverse Mapping Record
    Launch BIND (on linux1.starline.ca.)
    Ping working on all guest OS
    nslookup working only on the Server
    Example: nslookup linux1.starline.ca
    Server :168.135.88.2
    Address: 168.135.88.2#53
    Name: linux1.starline.ca.
    Address: 168.135.88.2
    On the clients guest OS nslookup don't work. It write : timed out; no servers could be reached
    Why nslookup don't work from clients guest OS?
    I hope you understand my question

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,134
    This will depend on how each guest OS obtains its IP address
    and nameserver address. Go into each OS and check the file
    /etc/resolv.conf This is the address that nslookup will query.

    I know nothing about virtual machines, so I can't tell how they
    get the address.

  3. #3
    Just Joined!
    Join Date
    May 2009
    Location
    Vladivostok, Russia
    Posts
    18
    The problem is solved successfully! Is working! The Firewall in the CentOS blocks for default port 53/tcp,upd. Need in the Firewall makes exception for port 53/tcp,upd.

Posting Permissions

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