Results 1 to 1 of 1

Thread: DNS resolving issues

  1. #1
    Join Date
    Aug 2013
    Beans
    8

    Question DNS resolving issues

    Hi,

    My linux machine is connected to a network where we have a Win DC and i have used Networkmanager for my static IPs configuration. I am able to connect\ping to the internal servers by specifying IP addresses, but not by using host names, other servers on the LAN can`t ping my linux box by using its hostname.

    By running nslookup i get
    root@TESTKHO administrator]# hostname -f
    hostname: Unknown host
    my Resolve.conf

    [QUOTE]]# Generated by NetworkManager
    search mydomain.com
    nameserver 192.168.1.2
    nameserver 192.168.1.7[/QUOTE

    I don`t wanna fill up my hosts file since i`m on a corperate network

    this`s my sys-config eth0 file

    DEVICE=em1
    TYPE=Ethernet
    UUID=122c53a9-86f5-418a-b865-6df17c2badcc
    ONBOOT=yes
    NM_CONTROLLED=yes
    BOOTPROTO=none
    DEFROUTE=yes
    IPV4_FAILURE_FATAL=no
    IPV6INIT=no
    NAME="System em1"
    HWADDR=5C:F9D:74:1B:7B
    IPADDR=192.168.1.239
    PREFIX=24
    GATEWAY=192.168.1.1
    DNS1=192.168.1.2
    DNS2=192.168.1.7
    DOMAIN=mydomain.com
    LAST_CONNECT=1388649880
    and i have set nssswitch as follow
    hosts: files dns mdns wins [NOTFOUND=return] dns

    appricate your input.

    Thanks
    Last edited by ahmy2; January 3rd, 2014 at 04:48 PM.

Bookmarks

Posting Permissions

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