[Dnsmasq-discuss] alias - IP for IP?
Morgan Read
mstuff at read.org.nz
Wed Feb 28 00:46:36 GMT 2007
Hello
I'm new to this - running dnsmasq on dd-wrt and wanting requests from my
local network for IP addy 1.2.3.4 to be redirected to my local pc at
192.168.1.30. So, requests for http://1.2.3.4 hit apache on 192.168.1.30.
From the man and example conf, "alias" seems the correct command (cf
"address") but its not working. I have the following in
/tmp/dnsmasq.config on the wrt54gl/dd-wrt.v23.2 :
/tmp # more dnsmasq.conf
interface=br0
resolv-file=/tmp/resolv.dnsmasq
leasefile-ro
dhcp-script=/etc/lease_update.sh
dhcp-lease-max=53
dhcp-option=3,192.168.1.1
dhcp-authoritative
dhcp-range=192.168.1.100,192.168.1.149,255.255.255.0,1440m
dhcp-host=00:16:B6:91:24:C6,oldmachine,192.168.1.10,infinite
dhcp-host=00:08:A1:94:80:EE,MOZSMACHINE,192.168.1.20,infinite
dhcp-host=00:30:84:1F:AE:F7,morgansmachine,192.168.1.30,infinite
alias=58.28.20.69,192.168.1.30
/tmp # more resolv.dnsmasq
nameserver 210.48.65.2
nameserver 210.48.66.2
/tmp # more resolv.conf
nameserver 192.168.1.1
/tmp #
/etc # more hosts
127.0.0.1 localhost
192.168.1.1 DD-WRT
192.168.1.10 oldmachine
192.168.1.20 MOZSMACHINE
192.168.1.30 morgansmachine
/etc # more resolv.conf
nameserver 192.168.1.1
/etc #
Any ideas?
Regards,
Morgan.
--
Morgan Read
NEW ZEALAND
<mailto:mstuffATreadDOTorgDOTnz>
fedora: Freedom Forever!
http://fedoraproject.org/wiki/Overview
"By choosing not to ship any proprietary or binary drivers, Fedora does
differ from other distributions. ..."
Quote: Max Spevik
http://interviews.slashdot.org/article.pl?sid=06/08/17/177220
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 338 bytes
Desc: OpenPGP digital signature
Url : http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20070228/52cdd0f1/signature.pgp
More information about the Dnsmasq-discuss
mailing list