<div dir="ltr"><div class="gmail_default" style="font-family:'times new roman',serif"><div class="gmail_default" style="display:inline"></div><span style="font-family:arial">On Fri, Nov 8, 2013 at 5:08 AM, Guillaume Betous </span><span dir="ltr" style="font-family:arial"><<a href="mailto:guillaume.betous@gmail.com" target="_blank">guillaume.betous@gmail.com</a>></span><span style="font-family:arial"> wrote:</span><br style="font-family:arial">
<blockquote class="gmail_quote" style="font-family:arial;margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">what kind of local domain name can I use ? I thought the .local was<br>
reserved for local networks...<br></blockquote></div><div class="gmail_default" style="font-family:'times new roman',serif"><br></div><div class="gmail_default" style="font-family:'times new roman',serif">
</div><div class="gmail_default" style="font-family:'times new roman',serif">Since both .lan and .local can be problematic under certain circumstances (especially public upstream DNS servers, such as google, opendns, and others); I have used .localnet, from the dnsmasq FAQ:</div>
<div class="gmail_default" style="font-family:'times new roman',serif"><br></div><div class="gmail_default" style="font-family:'times new roman',serif"><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap">
Q: Names on the internet are working fine, but looking up local names 
   from /etc/hosts or DHCP doesn't seem to work.

A: Resolver code sometime does strange things when given names without
   any dots in. Win2k and WinXP may not use the DNS at all and just
   try and look up the name using WINS. On unix look at "options ndots:"
   in "man resolv.conf" for details on this topic. Testing lookups
   using "nslookup" or "dig" will work, but then attempting to run
   "ping" will get a lookup failure, appending a dot to the end of the
   hostname  will fix things. (ie "ping myhost" fails, but "ping
   myhost." works. The solution is to make sure that all your hosts
   have a domain set ("domain" in resolv.conf, or set a domain in 
   your DHCP server, see below for Windows XP and Mac OS X). 
   Any domain  will do, but "localnet" is traditional. Now when you
   resolve "myhost" the resolver will attempt to look up 
   "myhost.localnet" so you need to have dnsmasq reply to that name. 
   The way to do that is to include the domain in each name on
   /etc/hosts  and/or to use the --expand-hosts and --domain options.
</pre><div>Jim A.</div></div></div>