![]() |
|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
Behind my fw I cannot get dns to local machines to work. /etc/resolv.conf points to 127.0.0.1, locally I have dnsmasq running. /usr/local/etc/dnsmasq.conf contains lines like:
dhcp-host=00:1d:60:e0:08:db,machine-a,192.168.1.2,2h If I do arp -a I see the machine connected and it's mac. If I ping the ip it works, if I ping the name is sends the name query upstream returning an invalid ip. I thought that since the machine gets an ip throught dhcp, the fw would also be able to resolve it. Dnsmasq settings are: log-queries domain-needed bogus-priv bind-interfaces dhcp-authoritative expand-hosts interface=fxp0 What should I do? |
|
|||
![]()
I haven't had much experience with dnsmasq, however, it appears that you are missing the address declarations.
The way I understand dnsmasq, it overrides specific values if they exist, otherwise it queries upstream. So, if you don't have the address declarations, it will query upstream. Check out http://rhodesmill.org/brandon/2008/tomato-reverse-dns/ It covers setting up dnsmasq (on a linksys router running tomato firmware...) to specify local names for his computers. Hopefully that helps. |
|
|||
![]()
Ok, so specifying lines like
Code:
address=/mail.home/192.168.1.2 Code:
dhcp-host=00:18:d3:c9:c2:ee,mail.home,192.168.1.2,2h BR |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Local transfer is slow. | maurobottone | OpenBSD General | 1 | 10th January 2009 02:12 PM |
proxy : replace gif with local gif | milo974 | OpenBSD General | 4 | 17th July 2008 06:45 AM |
Attention A Nwe Local Root Exploit | t4y4n | OpenBSD General | 6 | 2nd July 2008 01:23 AM |
Send email to all local users | cajunman4life | FreeBSD General | 8 | 15th June 2008 10:52 AM |
/usr/local and application directories | ducu_00 | FreeBSD Ports and Packages | 14 | 23rd May 2008 05:37 PM |