PDA

Bekijk de volledige versie : New DNS server/relay feature possible?



Tbone
20-09-2004, 22:59
What I would like "very" much for a new feature in the WL-500G is a option to add your own local dns entries for systems in your LAN.
Maybe even... to hook this up to the DHCP leases given away so you can have complete name resolving solution for your active computers in the local network.

This option is also available in for example Alcatel SpeedTouch 510.

Now if you run a website in your lan http://hostname get resolved by DNS servers on the internet since this is the server given in the DHCP scope. The name cannot be resolved unless you start adding entries in your local host or lmhost files (windows machine)

Isn`t a DNS server / relay feature possible or is free firmware space to limited? :confused:

Oleg
21-09-2004, 09:26
1.7.5.9 already has this. It accepts both lease names as host names, as well as entries in the hosts file.

Mark Koops
22-09-2004, 22:37
1.7.5.9 already has this. It accepts both lease names as host names, as well as entries in the hosts file.

Can someone explain me why the hostnames of my local winxp boxes are only resolved correctly by the router when I put a period behind the hostnames.
Except for the hostname my.router.

IP settings on the win boxes are all fully automatic.



C:\>nslookup
Default Server: router
Address: 192.168.1.1

> beetle
Server: router
Address: 192.168.1.1

*** router can't find beetle: Non-existent domain
> beetle.
Server: router
Address: 192.168.1.1

Name: beetle
Address: 192.168.1.2

> router
Server: router
Address: 192.168.1.1

*** router can't find router: Non-existent domain
> router.
Server: router
Address: 192.168.1.1

Name: router
Address: 192.168.1.1

> my.router
Server: router
Address: 192.168.1.1

Name: my.router
Address: 192.168.1.1


In this case beetle is 1 of my win xp boxes.

TIA

Mark

Oleg
23-09-2004, 07:53
Windows never queries for simple names, it is always adding default domain name to queries. Adding trailing dot stops this wierdness.
In fact you just need to FQDN for your hosts like this to the /etc/hosts:

192.168.1.2 fileserver fileserver.myhome.net

wtzm
23-09-2004, 09:25
It's also possible to use the expand-hosts option in the dnsmasq config file.