I have a newly built Fedora 20 server that I've just hooked to my network. It's a virtual server running on a VirtualBox host. Everything seems to be working but I have a problem with name resolution.
(I should say at this point that name resolution is provided by a Windows server on separate hardware that works well for every other machine on the network.)
From the command line I can resolve an external host like
unix.stackexchange.com. I can quite happily resolve that and ping it, as with every other external host I've tried.
However, my local network (let's call it
xyz.local) is different. The network interface on my F20 machine has
DOMAIN=xyx.local in the network script (full script below). From the command line I can resolve, say,
server-01, but not
I can resolve an alias in the short form, even though the canonical name is the long form, so, for example,
ping mysql successfully resolves to its alias
linux-04.xyz.local, but I can resolve neither
Clearly I've missed something. Can anyone suggest what?
/etc/hosts has only the standard localhost entries for 127.0.0.1
/etc/resolv.conf is as follows:
#Generated by Network Manager search xyz.local nameserver 192.168.xxx.xxx
My interface script is
TYPE=Ethernet BOOTPROTO=none DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no NAME="Wired connection 1" UUID=<uuid> ONBOOT=yes IPADDR0=192.168.xxx.xxx PREFIX0=24 GATEWAY0=192.168.xxx.xxx DNS1=192.168.xxx.xxx HWADDR=<mac> DOMAIN=xyz.local IPV6_PEERDNS=yes IPV6_PEERROUTES=yes