On Tue, 08 Feb 2011 09:12:09 +0000, Tixy wrote: >> > ;; ANSWER SECTION: >> > maroon. 0 IN A 127.0.0.1 >> > >> > ;; Query time: 0 msec >> > ;; SERVER: 192.168.0.100#53(192.168.0.100) ;; WHEN: Sun Feb 6 >> > 23:20:41 2011 >> > ;; MSG SIZE rcvd: 40 >> >> This is the problem that I haven't been able to solve -- I was hoping >> that it will return 192.168.0.100 instead of 127.0.0.1. >> >> How can I fix it? > > My /etc/hosts file on the server has an entry for the server. E.g. > > 192.168.2.2 servername.home servername
Thanks! I was putting everything on the same line, 127.0.0.1 servername.home servername localhost Now I separate them. > so that's probably the answer. yep, I guess so, even IMHO it is not an ideal solution. I was hoping that I can configure everything on the dnsmasq side, and tried to use # Don't read the hostnames in /etc/hosts no-hosts but that didn't work... Anyway, Thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/iirrgf$plc$1...@dough.gmane.org