Re: need to look up short names
On 08/11/2017 02:40 PM, ToddAndMargo wrote: On 08/10/2017 07:07 PM, Grant Taylor via bind-users wrote: On 08/10/2017 06:21 PM, toddandmargo wrote: Fedora 26 Fedora = Linux (vs Windows vs other) I am stumped. I need to be able to look up short names on my local network. ... What am I missing? domain and / or search configuration in /etc/resolv.conf man resolv.conf Follow up: I had goofed my /etc/resolv.conf. The hostname was suppose to be ".local" not ".com". mumble, mumble -T Setting the host and domain name has gotten a little "interesting" in Fedora as of late. # hostnamectl set-hostname FedoraServer..local –static And it updates resolv.conf too ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: need to look up short names
On 08/10/2017 07:07 PM, Grant Taylor via bind-users wrote: On 08/10/2017 06:21 PM, toddandmargo wrote: Fedora 26 Fedora = Linux (vs Windows vs other) I am stumped. I need to be able to look up short names on my local network. ... What am I missing? domain and / or search configuration in /etc/resolv.conf man resolv.conf Follow up: I had goofed my /etc/resolv.conf. The hostname was suppose to be ".local" not ".com". mumble, mumble -T ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: need to look up short names
On 08/10/2017 10:18 PM, /dev/rob0 wrote: Note that this still work for dig(1) and host(1) as per the OP's examples. But things like ping(1) and browsers will work with a search domain. Do you mean to say that the search / domain entry in /etc/resolv.conf do /not/ work for dig / host? (Or am I mis-reading your email?) Do you know if there is a way to get nslookup* / dig / host to work with the search domain? It was my (mis)understanding that search / domain works for things that use the system resolver libraries, which (I believe) nslookup* / dig / host bypass and make (unqualified) DNS queries directly. Please correct me if I'm wrong. -- Grant. . . . unix || die smime.p7s Description: S/MIME Cryptographic Signature ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: need to look up short names
On Thu, Aug 10, 2017 at 08:07:00PM -0600, Grant Taylor via bind-users wrote: > On 08/10/2017 06:21 PM, toddandmargo wrote: > > I am stumped. I need to be able to look up short names on my > > local network. > ... > > What am I missing? > > domain and / or search configuration in /etc/resolv.conf > > man resolv.conf Note that this still work for dig(1) and host(1) as per the OP's examples. But things like ping(1) and browsers will work with a search domain. -- http://rob0.nodns4.us/ Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
Re: need to look up short names
On 08/10/2017 06:21 PM, toddandmargo wrote: > Fedora 26 Fedora = Linux (vs Windows vs other) > I am stumped. I need to be able to look up short names on my local > network. ... > What am I missing? domain and / or search configuration in /etc/resolv.conf man resolv.conf -- Grant. . . . unix || die smime.p7s Description: S/MIME Cryptographic Signature ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users
RE: need to look up short names
Appending suffixes to short names to make them legal DNS names, is considered the responsibility of the *client*, not the *server*. Look up “resolver search list” (more Unix-ish/Linux-ish) or “suffix search list” (more Windows-ish), and you should find some useful information. - Kevin From: bind-users [mailto:bind-users-boun...@lists.isc.org] On Behalf Of toddandmargo Sent: Thursday, August 10, 2017 8:21 PM To: bind-users@lists.isc.org Subject: need to look up short names Hi All, Fedora 26 bind-chroot-9.11.1-2.P2.fc26.x86_64 I am stumped. I need to be able to look up short names on my local network. Long names work: # host pop3.xxx.local pop3.xxx.local is an alias for FedoraServer.xxx.local. FedoraServer.xxx.local has address 192.168.255.12 But not short names: # host pop3 Host pop3 not found: 3(NXDOMAIN) My hosts.xxx look like this for pop3: FedoraServerA 192.168.255.12 pop3CNAME FedoraServer What am I missing? Many thanks, -T ___ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users