resolv record without domain

Lightner, Jeff JLightner at water.com
Thu Sep 29 14:11:16 UTC 2011


Right - the issue here is the lookup not the DNS record itself.   On UNIX/Linux hosts the file is /etc/resolv.conf.

However, I do see a DNS configuration issue here as well.  There should NOT be a dot after "name" in the A record - that tells it NOT to append the domain name.





-----Original Message-----
From: bind-users-bounces+jlightner=water.com at lists.isc.org [mailto:bind-users-bounces+jlightner=water.com at lists.isc.org] On Behalf Of Warren Kumari
Sent: Thursday, September 29, 2011 9:43 AM
To: Gabriele Gabriele
Cc: bind-users at lists.isc.org
Subject: Re: resolv record without domain


On Sep 29, 2011, at 9:25 AM, Gabriele Gabriele wrote:

> Hello dear mailinglist,
> I have a little problem with my bind configuration, I explain you the situation
> I have a domain example.com with many record and every things work well, now I need to resolv an name of my servers without specify the domain,
>
> for example;
>
>
> name. IN A 1.1.1.1
>
>
> but if I try to resovl name by nslookup the dns told me the record Non-Exist...
>
> ie there a way to do it?

Not 100% sure I understand the question, but what I think you need is a search path.

In a linux box, add:
search example.com
to resolv.conf.

On a mac it's under Network Preferences, Interface, Search Domains.
somewhere similar on Windows.

You can also hand this out via DHCP:
option domain-search "example.com";

W


>
>
> thanks
>
> best regards
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users




Athena(r), Created for the Cause(tm)
Making a Difference in the Fight Against Breast Cancer

---------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
----------------------------------




More information about the bind-users mailing list