[Dnsmasq-discuss] Re : how to handle the local domain (A, PTR)

2012-07-31 Thread Vincent Cadet
Hello Wojtek.


--- En date de : Ven 27.7.12, Wojtek Swiatek w...@swtk.info a écrit :

 Hello,
 
 I set up dnsmasq on my home network to replace the isc/bind
 legacy
 system :) when changing the architecture. The setup relies
 on a debian
 which acts as the router/firewall/master of all truth
 (DNS, ntp,
 ...):
 - an ADSL access to Internet with the public IP assigned to
 eth1
 - a wired network 192.168.0.0/24 bound to eth0 (which has
 the
 192.168.0.10 address)
 - a wired network 192.168.1.0/24 bound to wlan3 (which has
 the
 192.168.1.10 address)
 - the domain name for the internal network is home
 - firewalling is handled by shorewall
 
 The dnsmasq configuration is:
 
 domain-needed
 bogus-priv
 local=/home/
 [...snipped...]
 What does not work: the home domain name does not seem to
 be handled:
   * /etc/hosts has a
     192.168.0.10 server.home
    entry which is not used, ie. dig server
 does not return the name,
 dig server.home does not either.
   * PTR records for DHCP-assigned names are not there
 
 I am sure that this is something obvious but I am brand new
 to dnsmasq
 and would appreciate very much any pointers.
 
 Thank you,
 Wojtek

I'm no DNS expert but I always believed there had to be a dot in the domain 
name, at least for Windows -- if anyone can confirm that... Have you tried a 
domain name localdomain.local or home.local for instance? If you have no 
Apple device in your network, at least it should work from Windows and *NIX 
machines. (Apple devices/machines might cause issues with the .local suffix 
when using bonjour.)

Vincent

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Using dhcp-host hostname as address for DNS

2012-07-31 Thread /dev/rob0
On Sun, Jul 29, 2012 at 11:25:49PM +0200, gabriel wrote:
 On 07/29/2012 06:39 PM, Simon Kelley wrote:
  On 26/07/12 13:31, gabriel wrote:
  My question is whether it would be possible to have a single 
  line config statement for mac-ip-hostname mapping.
  But I want to have the DNS entries permanently preserved resp. 
  dns mappings without prior dhcp ip negotiation. Actually this 
  means I don't want DNS to be dynamic.
 
  Is this somehow configurable?
  
  Yes. Put the hostname-IP address mapping in /etc/hosts and the 
  mac_address-hostname mappings in /etc/dnsmasq.conf in dhcp-host 
  lines.
  
  
  so: in /etc/hosts
  
  1.2.3.4 myhost
  
  in /etc/dnsmasq.conf
  
  dhcp=host=00:11:22:33:44:55,myhost
 
 So this means that I can't maintain my hosts in a single file with 
 only one statement?

Single statement, not that I know of.

Single file, sure. See -A, --address in the man page.

in /etc/dnsmasq.conf :

dhcp=host=00:11:22:33:44:55,myhost
address=/myhost/1.2.3.4
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if /dev/rob0 is in the Subject:

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Re : how to handle the local domain (A, PTR)

2012-07-31 Thread Jan Seiffert
Vincent Cadet schrieb:
[snip]
  Have you tried a domain name localdomain.local or
 home.local for instance? If you have no Apple device in your
 network, at least it should work from Windows and *NIX machines.
 (Apple devices/machines might cause issues with the .local suffix
 when using bonjour.)
 

.local is also burned on Windows.
To many people own iGadgets, which need iTunes, and iTunes installs
Bonjour...
The Linux Desktop cabal also pushes hard for avahi, which burns .local
nearly everywhere.

Simply use .lan.
I renamed all nets i could get my hands on, and they run better
afterwards...

 Vincent
 

Greetings
Jan


-- 
Carpe the heck out of the diem

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss