<div dir="ltr">Hi Steve, <div><br></div><div>Thanks for the reply..</div><div><br></div><div>Sorry if i am misunderstanding, RFC1034 section 3.5 for preferred name syntax says that domain names should be alphanumeric separated with ".".</div>
<div>As you mentioned if "." is valid domain name (root), writing "search ." manually in /etc/resolv.conf shows warning in both centos and ubuntu. and it doesn't cares this "search ." option while sending DNS query.</div>
<div><br></div><div>Basically in my client network module, we validate Domain Name and Domain Name servers which are received from DHCP server and if anyone of them fails, then we wont write any configuration to resolv.conf.</div>
<div>So even if domain name servers are valid and only domain name is not valid like i mentioned ("."), our resolv.conf will be empty and internet will be not reachable.</div><div><br></div><div>Regards,</div><div>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 17, 2013 at 3:50 PM, Steven Carr <span dir="ltr"><<a href="mailto:sjcarr@gmail.com" target="_blank">sjcarr@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Firstly, there are no DHCP servers on the Internet.<br>
<br>
. is a valid domain name, it is root. Nothing in RFC1034 section 3.5<br>
states that "." is invalid.<br>
<br>
There would be very little point adding it to resolv.conf, although<br>
not technically invalid in practice you would never use it. As for<br>
Windows, yeah, it does weird unconventional stuff.<br>
<br>
You probably want to speak with your Network/DHCP administrator to<br>
have them fix your DHCP domain-name field, or override it in your<br>
local configuration.<br>
<br>
Steve<br>
<div><div class="h5"><br>
<br>
<br>
<br>
On 17 October 2013 10:46, Maruthi Thotad <<a href="mailto:maruthi.tr@gmail.com">maruthi.tr@gmail.com</a>> wrote:<br>
> Hi All,<br>
><br>
> I am getting Domain Name as "." from one of the DHCP server on the internet.<br>
> But my client network module rejects this Domain Name "." as per RFC 1034<br>
> and doesn't updates<br>
> to /etc/resolv.conf.  But it seems windows PC can accept "." Domain Name and<br>
> works fine.<br>
> As per RFC1034, "." is invalid domain name (section 3.5).<br>
><br>
> Please let me know if Domain Name "." is valid domain name or not?<br>
> Or in any other latest RFC's this syntax is updated?<br>
><br>
> Regards,<br>
><br>
</div></div>> _______________________________________________<br>
> dhcp-users mailing list<br>
> <a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div><br></div>