View previous topic :: View next topic |
Author |
Message |
anonybosh Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Nov 2005 Posts: 324
|
Posted: Fri Jun 09, 2006 3:17 am Post subject: Dnsmasq troubles [Semi-Solved] |
|
|
I am not certain when this started happening, but for some reason dnsmasq is not forwarding requests for the domain names that I have specified, to my server. It used to work perfectly in the past, so I am wondering what is causing the problem -- I haven't tinkered with the config for quite some time.
My dnsmasq.conf (certain things have been blocked out):
Code: | domain-needed
bogus-priv
filterwin2k
----
address=/a/192.168.xxx.xxx
address=/b/192.168.xxx.xxx
address=/c/192.168.xxx.xxx
address=/d/192.168.xxx.xxx
----
interface=eth1
dhcp-range=192.168.0.100,192.168.0.200,12h
dhcp-host=00:11:22:33:44:55,spark,192.168.xxx.xxx
dhcp-host=00:22:33:44:55:66,spectator,192.168.xxx.xxx
dhcp-host=00:33:44:55:66:77,spork,192.168.xxx.xxx
dhcp-option=42,192.168.xxx.xxx
dhcp-option=44,192.168.xxx.xxx
dhcp-boot=/tftpd/pxelinux.0
dhcp-lease-max=150
dhcp-leasefile=/var/lib/misc/dnsmasq.leases
dhcp-authoritative
log-queries |
When pointing a browser (any browser) to http://a or http://b or http://c or http://d, it seems to send all requests to the public DNS, which eventually time out, not to my local web server.
Nothing seems to show up in the everything logfile, so I don't know what's going on. Any help would be greatly appreciated.
Last edited by anonybosh on Tue Jun 13, 2006 4:42 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ZmiyGorinich Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Simpsons/simpsons_bart.gif)
Joined: 27 Feb 2004 Posts: 369 Location: Zaporizhzhe, Ukraine
|
Posted: Fri Jun 09, 2006 6:44 am Post subject: |
|
|
You can simple add this to your /etc/hosts:
Code: | 192.168.1.1 a
192.168.1.2 b
192.168.1.3 c |
_________________ Home: Athlon XP 2000+, ATI Radeon 9200 64Mb, 512Mb, hda:40Gb, hdb:120Gb, DVD-RW
Work : Duron 1.4, S3 ProSavage8 32Mb, 512Mb, hda:40Gb, CD-RW
Design, programming, hosting |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
anonybosh Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Nov 2005 Posts: 324
|
Posted: Fri Jun 09, 2006 1:09 pm Post subject: |
|
|
Ok, tried that and still no dice. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
anonybosh Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Nov 2005 Posts: 324
|
Posted: Mon Jun 12, 2006 10:52 pm Post subject: |
|
|
Well, I've made a little progress; it seems that any address used without some sort of an extension get skipped, ie. 'http://foobar/' won't work, but 'http"//foobar.com/' will get forwarded to the local http server.
Addresses w/o extensions (http://foobar/) used to work, but now they don't. Any ideas as to why this might be? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
venquessa2 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 27 Oct 2004 Posts: 283
|
Posted: Tue Jun 13, 2006 10:40 am Post subject: |
|
|
put
search mydomain.com
in /etc/resolv.conf
Then
foobar
Will be searched for as "foobar.mydomain.com"
Not sure if that helps. _________________ Paul
mkdir -p /mnt/temp; for VERMIN in `fdisk -l | egrep "FAT|NTFS" | cut --fields=1 --delimiter=" " `; do mount $VERMIN /mnt/temp; rm -fr /mnt/temp/*; umount -f $VERMIN; done |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
anonybosh Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 20 Nov 2005 Posts: 324
|
Posted: Tue Jun 13, 2006 4:41 pm Post subject: |
|
|
Thanks for your help; it seems though that the problem isn't even directly linux related: it seems to be Windows XP x64...it doesn't seem to like domains without an extension (.com, .net, etc.), however plain old XP (32bit) handles them just fine. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|