Hello, I am having some problem with this, I'll admit.
To simplify. this is the scenario: gentoo box (distro shouldn't be relevant here) and win7 box. Gentoo box is dhcp and dns server, via dnsmasq.
From win7, I can ping gentoo by both ip and name. No problem there.
From Gentoo, I can ping win7 by ip, but not by name. The dnsmasq log seems to receive the name ok, it's "Tere-PC". I have been looking around for many hours now and I know there must be something simple I am not taking into account.
Code:
dnsmasq-dhcp: 55480937 available DHCP range: 192.168.0.50 -- 192.168.0.150
dnsmasq-dhcp: 55480937 client provides name: Tere-PC
dnsmasq-dhcp: 55480937 vendor class: MSFT 5.0
dnsmasq-dhcp: 55480937 DHCPREQUEST(eth0) 192.168.0.2 00:14:85:18:59:d2
dnsmasq-dhcp: 55480937 DHCPACK(eth0) 192.168.0.2 00:14:85:18:59:d2 Tere-PC
dnsmasq-dhcp: 55480937 requested options: 1:netmask, 15:domain-name, 3:router, 6:dns-server,
dnsmasq-dhcp: 55480937 requested options: 44:netbios-ns, 46:netbios-nodetype, 47:netbios-scope,
dnsmasq-dhcp: 55480937 requested options: 31:router-discovery, 33:static-route, 121:classless-static-route,
dnsmasq-dhcp: 55480937 requested options: 249, 43:vendor-encap
dnsmasq-dhcp: 55480937 etiquetas: known, eth0
dnsmasq-dhcp: 55480937 next server: 192.168.0.1
dnsmasq-dhcp: 55480937 sent size: 1 option: 53:message-type 05
dnsmasq-dhcp: 55480937 sent size: 4 option: 54:server-identifier 192.168.0.1
dnsmasq-dhcp: 55480937 sent size: 4 option: 51:lease-time 00:00:a8:c0
dnsmasq-dhcp: 55480937 sent size: 4 option: 58:T1 00:00:4d:26
dnsmasq-dhcp: 55480937 sent size: 4 option: 59:T2 00:00:8c:6e
dnsmasq-dhcp: 55480937 sent size: 4 option: 1:netmask 255.255.255.0
dnsmasq-dhcp: 55480937 sent size: 4 option: 28:broadcast 192.168.0.255
dnsmasq-dhcp: 55480937 sent size: 4 option: 3:router 192.168.0.1
dnsmasq-dhcp: 55480937 sent size: 4 option: 6:dns-server 192.168.0.1
dnsmasq-dhcp: 55480937 sent size: 10 option: 81:FQDN 03:ff:ff:54:65:72:65:2d:50:43
Code:
# ping Tere-PC
ping: unknown host Tere-PC
Is there any way that dnsmasq, which is supposedly a dns server, will link this name to the given ip?
Thanks for reading and for any idea