DNS Overlay with existing DNS

Hi,

I'm using 1.3 and trying to overlay DNS names on hosts that already have an
existing DNS entries in another server beyond my control.
In particular, my setup looks like this

[client] <------------> [foreman server + (includes DNS) ]
<----------------> [External DNS server]

assume "client" has the hostname abcd.mydomain.com in External DNS Server
I'd like to give it a "localised " name of "m-abcd.mydomain.com".
Problem is, when I try and create the host in foreman it gives me an error
telling me an existing hostname already exists for m-abcd, which is to be
expected given the external DNS server has an entry. I am forced to click
on the overwrite button but even then I do not get a new entry in the
foreman dns server.

Any ideas if what I want is possible?

Thanks.

> Hi,
>
> I'm using 1.3 and trying to overlay DNS names on hosts that already have
> an existing DNS entries in another server beyond my control.
> In particular, my setup looks like this
>
>
> [client] <------------> [foreman server + (includes DNS) ]
> <----------------> [External DNS server]
>
> assume "client" has the hostname abcd.mydomain.com in External DNS Server
> I'd like to give it a "localised " name of "m-abcd.mydomain.com".
> Problem is, when I try and create the host in foreman it gives me an error
> telling me an existing hostname already exists for m-abcd, which is to be
> expected given the external DNS server has an entry. I am forced to click
> on the overwrite button but even then I do not get a new entry in the
> foreman dns server.
>
> Any ideas if what I want is possible?
>

I'm not 100% sure if i understood your situation, but you could configure
which dns servers foreman uses, by default we query the SOA/NS servers
directly (to avoid any dns syncs issues) but you could turn of that
behaviour and use the locally configured resolver (e.g. /etc/resolv)
instead.

Ohad

··· On Sat, Oct 5, 2013 at 6:47 PM, Jassi Singh wrote:

Thanks.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.

> Any ideas if what I want is possible?
>>
>
> I'm not 100% sure if i understood your situation, but you could configure
> which dns servers foreman uses, by default we query the SOA/NS servers
> directly (to avoid any dns syncs issues) but you could turn of that
> behaviour and use the locally configured resolver (e.g. /etc/resolv)
> instead.
>
>
How would I get it to use a locally configured resolver?

Search for query_local_nameservers under settings

Ohad

··· On Sun, Oct 6, 2013 at 1:20 PM, Jassi Singh wrote:

Any ideas if what I want is possible?

I’m not 100% sure if i understood your situation, but you could configure
which dns servers foreman uses, by default we query the SOA/NS servers
directly (to avoid any dns syncs issues) but you could turn of that
behaviour and use the locally configured resolver (e.g. /etc/resolv)
instead.

How would I get it to use a locally configured resolver?


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/groups/opt_out.