Tapas, by default, DNSmasq responds to the entries in /etc/hosts file and
then queries nameservers.

Can you upload the contents of */etc/dnsmasq.conf *to pastebin and share it.

Regards

CS Shyam Sundar <http://about.me/cs3>




2011/2/11 Tapas Mishra <mightydre...@gmail.com>

> I installed dnsmasq on my server but the query is still not being
> answered from localhost.
> In /var/log/syslog I see following
>
> dnsmasq[1094]: no servers found in /var/run/dnsmasq/resolv.conf, will retry
>
>
> Feb 10 16:17:44  dnsmasq[1094]: reading /var/run/dnsmasq/resolv.conf
> Feb 10 16:17:44  dnsmasq[1094]: using nameserver 192.168.1.2#53
>
> which is querying the DNS on Lan which does not have entries for the
> Virtual Machines running on top of my server.
>
> In my /etc/resolv.conf I have following when
> nameserver 127.0.0.1
> search somedomain.corporate.org
>
> where as I want in /etc/resolv.conf
>
> nameserver 127.0.0.1
> nameserver 192.168.1.2
> search somedomain.corporate.org
>
> there are some queries which have to be answered only via localhost.It
> is a reverse proxy situation.
>
> The /etc/hosts file reads as follows
>
> 127.0.0.1       localhost
> 192.168.100.14  someserver
> 192.168.1.13  domu1.tapas.domain
> 192.168.1.14  domu2.tapas.domain
> 192.168.1.15  domu3.tapas.domain
> 192.168.1.16  domu4.tapas.domain
> # The following lines are desirable for IPv6 capable hosts
> ::1     localhost ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
>
> Where 192.168.100.14 is the machine on which all this has to be done.
> So what more should I be doing?
> --
> http://mightydreams.blogspot.com
>
> --
> ubuntu-server mailing list
> ubuntu-server@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam
>
-- 
ubuntu-server mailing list
ubuntu-server@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to