[Dnsmasq-discuss] Returning the Right IP

Edson 4lists at gmail.com
Tue Apr 22 19:12:30 BST 2008


Great... 

It works like a charm... thanks for support such a great "Swiss-Knife"
software ;)

Edson

>-----Original Message-----
>From: Simon Kelley [mailto:simon at thekelleys.org.uk]
>Sent: terça-feira, 22 de abril de 2008 15:07
>To: Edson
>Cc: dnsmasq-discuss at lists.thekelleys.org.uk
>Subject: Re: [Dnsmasq-discuss] Returning the Right IP
>
>Edson wrote:
>> Hi..
>>
>> My home network is as such:
>>
>> Internet <-> FW <-> LAN1
>>               \---> LAN2
>>
>> On FW, among other things, there is a SVN server. I wanted to keep the
>same
>> name (svn.local) for LAN1 _and_ LAN2, so I declared on /etc/hosts two
>lines
>> like:
>>
>>   <LAN1-IP> svn.local svn
>>   <LAN2-IP> svn.local svn
>>
>> This two IPs are FW IPs. But when I run "host svn.local", I always get
>the
>> two IPs; not only the one concerned to the LAN where the query is runned.
>> This gives me many problems, since I have 50% of chance to use the wrong
>> one.
>>
>> Can DNSMasq handle this situation? How?
>>
>> Edson.
>> P.S.: I'm running OpenSUSE 10.2 and DNSMasq 2.41
>>
>
>--localise-queries
>
>Cheers,
>
>Simon.




More information about the Dnsmasq-discuss mailing list