Skip to main content

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?

quote posted dbecker view post
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
code:
dig @localhost site2 a
on client
code:
dig @192.168.1.137 site2 a
both should answer 192.168.1.137

2. check local name server

on cleint
code:
cat /etc/resolv.conf
is nameserver 192.168.1.137 or else? guess you'll find it's else, given dhcp.

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

Popular posts from this blog

Joomal 3.6.3 update error - PHP temporary folder is not set - Joomla! Forum - community, help and support

Upgrade 3.4.8 to 3.5.1 failed "download package failed" - Joomla! Forum - community, help and support

Fatal error during instalation - Joomla! Forum - community, help and support