Thread: internal DNS issues
i have 2 internal virtual hosts setup on apache2; each displayed when login webmin; site1 , site2 each on port 80, different document root dir's.
inside lan.
can access http://site1 fine browser inside lan. url started working after samba/winbind installed.
cannot access http://site2 unless edit client pc's hosts file.
installed dnsmasq on same server, use local dns resolution. read dnsmasq uses /etc/hosts file, added restarting networking each time:
192.168.1.137 site1 site2
no resolution when going http://site2, tried this:
192.168.1.137 site1
192.168.1.137 site2
still no go.
pointers?
hi dbecker
sounds me client machines aren't using server name resolution. (this suggested site1 working when installed samba, mean clients able use local netbios name resolution, it's not way realy.)
1. test dnsmasq
on server
on clientcode:dig @localhost site2 a
both should answer 192.168.1.137code:dig @192.168.1.137 site2 a
2. check local name server
on cleint
is nameserver 192.168.1.137 or else? guess you'll find it's else, given dhcp.code:cat /etc/resolv.conf
3. find dhcp server
dhcp server router (most likely) or dnsmasq (if installed that). whichever is, check giving out name server address clients. i'm pretty sure that's it's going wrong.
hope that's helpful.
kind regards,
joanthan.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] internal DNS issues
Ubuntu
Comments
Post a Comment