[Dnsmasq-discuss] multiple host names?

AJ Weber aweber at comcast.net
Wed Sep 17 15:17:14 BST 2008


I should have been more specific.  Is there a way to do it in conjunction with a dhcp-host line?  I do NOT, in fact, give the host I'm referring to a consistent address.

I was just wondering if there was some option elsewhere or using that address directive (but without specifying a specific IP).

Thanks for the feedback,
-AJ
  ----- Original Message ----- 
  From: Bill C. Riemers 
  To: AJ Weber 
  Cc: dnsmasq-discuss at thekelleys.org.uk 
  Sent: Wednesday, September 17, 2008 9:46 AM
  Subject: Re: [Dnsmasq-discuss] multiple host names?



  The easiest way is to use the address directive in the dnsmasq.conf
  file.   e.g.

  address=/dd-wrt.local/dd-wrt/gateway.local/gateway/192.168.1.1

  The disadvantages of address directives is that the dnsmasq.conf file is
  not automatically re-read when you update it.   But the address feature
  is particularly useful on DD-WRT devices, because the hosts file will be
  overwritten each reboot.

  Note:  A reverse dns lookup will not return multiple entries.  e.g.

  [docbill at hartnell ~]$ nslookup 192.168.1.1
  Server:        192.168.1.1
  Address:    192.168.1.1#53

  1.1.168.192.in-addr.arpa    name = dd-wrt.local.
  [docbill at hartnell ~]$


  Bill


  AJ Weber wrote:
  > Is there a way to resolve more than one hostname to a single host? 
  > Like an alias-feature?  Analogous to putting a line in /etc/hosts with
  > multiple names after the IP address?  Then have dnsmasq resolve any of
  > the names to the correct address?
  >  
  > Thanks,
  > AJ
  > ------------------------------------------------------------------------
  >
  > _______________________________________________
  > Dnsmasq-discuss mailing list
  > Dnsmasq-discuss at lists.thekelleys.org.uk
  > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
  >   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20080917/98b7d90b/attachment.htm


More information about the Dnsmasq-discuss mailing list