Re: Custom realHost app

2014-04-28 Thread Nux!

On 28.04.2014 17:59, Rafael Weingartner wrote:

Hi folks,
I am trying to create my own "realHost" DNS server.

I followed the instructions from here:
http://www.nux.ro/archive/2014/03/Run_your_own_realhostip.html

thanks NUX ;)

The app is up and running, however, I am struggling to make it work 
with my

DNS server that is ran by the VR.
How could I add it to be a nameserver to DNSMASQ in the VR, in toder 
to

answer the queries X-X-X-X.realhost.internal?
I mean, the DNSMASQ will forward any request that it receives to the 
first
nameserver, I could make my "realHost" as the first one, but it just 
solves

the internal names.
Is there any way to force DNSMASQ to try to solve the name with the
following nameserver from its config when the name is not found on the
nameserver that it tried first?


Or you can forward realhost.internal to the "app", see for example
http://pyther.net/2010/12/dns-conditional-forwarding-dnsmasq/

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Custom realHost app

2014-04-28 Thread Rafael Weingartner
thanks, that solved.
;)


On Mon, Apr 28, 2014 at 2:13 PM, Nux!  wrote:

> On 28.04.2014 17:59, Rafael Weingartner wrote:
>
>> Hi folks,
>> I am trying to create my own "realHost" DNS server.
>>
>> I followed the instructions from here:
>> http://www.nux.ro/archive/2014/03/Run_your_own_realhostip.html
>>
>> thanks NUX ;)
>>
>> The app is up and running, however, I am struggling to make it work with
>> my
>> DNS server that is ran by the VR.
>> How could I add it to be a nameserver to DNSMASQ in the VR, in toder to
>> answer the queries X-X-X-X.realhost.internal?
>> I mean, the DNSMASQ will forward any request that it receives to the first
>> nameserver, I could make my "realHost" as the first one, but it just
>> solves
>> the internal names.
>> Is there any way to force DNSMASQ to try to solve the name with the
>> following nameserver from its config when the name is not found on the
>> nameserver that it tried first?
>>
>
> Or you can forward realhost.internal to the "app", see for example
> http://pyther.net/2010/12/dns-conditional-forwarding-dnsmasq/
>
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>



-- 
Rafael Weingärtner


Re: Custom realHost app

2014-04-28 Thread Nux!

On 28.04.2014 17:59, Rafael Weingartner wrote:

Hi folks,
I am trying to create my own "realHost" DNS server.

I followed the instructions from here:
http://www.nux.ro/archive/2014/03/Run_your_own_realhostip.html

thanks NUX ;)

The app is up and running, however, I am struggling to make it work 
with my

DNS server that is ran by the VR.
How could I add it to be a nameserver to DNSMASQ in the VR, in toder 
to

answer the queries X-X-X-X.realhost.internal?
I mean, the DNSMASQ will forward any request that it receives to the 
first
nameserver, I could make my "realHost" as the first one, but it just 
solves

the internal names.
Is there any way to force DNSMASQ to try to solve the name with the
following nameserver from its config when the name is not found on the
nameserver that it tried first?


I think dnsmasq will read and serve contents from /etc/hosts (check the 
config), so if you add all your records there dnsmasq should "resolve" 
them.


HTH
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Custom realHost app

2014-04-28 Thread Rafael Weingartner
Hi folks,
I am trying to create my own "realHost" DNS server.

I followed the instructions from here:
http://www.nux.ro/archive/2014/03/Run_your_own_realhostip.html

thanks NUX ;)

The app is up and running, however, I am struggling to make it work with my
DNS server that is ran by the VR.
How could I add it to be a nameserver to DNSMASQ in the VR, in toder to
answer the queries X-X-X-X.realhost.internal?
I mean, the DNSMASQ will forward any request that it receives to the first
nameserver, I could make my "realHost" as the first one, but it just solves
the internal names.
Is there any way to force DNSMASQ to try to solve the name with the
following nameserver from its config when the name is not found on the
nameserver that it tried first?



-- 
Rafael Weingärtner