Welcome, Guest. Please login or register.
Did you miss your activation email?
Sunday 24 November 2024, 06:57:58 pm

Login with username, password and session length

Visit the Official Endian Reference Manual  HERE
14261 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Dnsmasq not serving out lease names.
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Dnsmasq not serving out lease names.  (Read 10292 times)
mc5686
Jr. Member
*
Offline Offline

Posts: 7


« on: Monday 26 October 2009, 05:33:25 pm »

Hi All,
I just installed the latest (2.3rc1) efw and I do not see the hostnames (correctly held in /var/lib/dhcpd.leases) in the DNS.
efw is the only DNS server and the only DHCP server in my home LAN.

Code:
...
lease 192.168.0.117 {
  starts 1 2009/10/26 06:22:12;
  ends 1 2009/10/26 07:22:12;
  binding state active;
  next binding state free;
  hardware ethernet 00:a0:d1:a9:6c:eb;
  uid "\001\000\240\321\251l\353";
  client-hostname "wiki3_1";
}
...

root@efw:~ # ping wiki3_1
ping: unknown host wiki3_1
root@efw:~ # ping 192.168.0.117
PING 192.168.0.117 (192.168.0.117) 56(84) bytes of data.
64 bytes from 192.168.0.117: icmp_seq=0 ttl=128 time=7.28 ms
64 bytes from 192.168.0.117: icmp_seq=1 ttl=128 time=1.25 ms

--- 192.168.0.117 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1007ms
rtt min/avg/max/mdev = 1.254/4.268/7.283/3.015 ms, pipe 2
root@efw:~ #

Any idea?
I can obviously generate fixed leases for my handful of computers and add them manually to the hosts file, but I felt I should report this.

Thanks in advance
Mauro
Logged
latewednesday
Jr. Member
*
Offline Offline

Posts: 1


« Reply #1 on: Thursday 05 November 2009, 01:38:35 am »

Same issue here.  DHCP is being served by dhcpd, DNS by dnsmasq, with no intermediary host file for dnsmasq to pick up the DHCP client host list. Unless I'm missing some option, DHCP client's can't have their names directly serviced via DNS - static entries are needed.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.281 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com