Foreman DNS smart-proxy creating only PTR records

Hi all,

I've configured foreman-proxy as DNS smart-proxy:

Enable Windows DNS

:dns: true
:dns_server: blenny.octopus.loc
:dns_provider: nsupdate_gss
:dns_tsig_keytab: /etc/foreman-proxy/dns.keytab
:dns_tsig_principal: foremanproxy@REALM

But it only creates PTR records:

I, [2014-01-21T17:12:08.602251 #26489] INFO – : Added DHCP reservation for
bleapp005.blenny.octopus.loc (10.229.0.5 / 00:0c:29:f7:d4:36)
I, [2014-01-21T17:12:08.631111 #26489] INFO – : Requesting credentials for
Kerberos principal foremanproxy@REALM using keytab
/etc/foreman-proxy/dns.keytab
D, [2014-01-21T17:12:08.638062 #26489] DEBUG – : Kerberos credential cache
initialised with principal: foremanproxy@REALM
D, [2014-01-21T17:12:08.638386 #26489] DEBUG – : running /usr/bin/nsupdate
-g
D, [2014-01-21T17:12:08.650593 #26489] DEBUG – : nsupdate: executed -
server blenny.octopus.loc
D, [2014-01-21T17:12:08.686725 #26489] DEBUG – : nsupdate: executed -
update add 5.0.229.10.in-addr.arpa. 86400 IN PTR
bleapp005.blenny.octopus.loc
I, [2014-01-21T17:12:08.973127 #26489] INFO – : TFTP: entry for
00:0c:29:f7:d4:36 created successfully

Is that normal? I've read in other topics that it should also create A
records. How does that work?

Thanks!

Regards,
Xesc

Well, indeed, it always creates A records here.
Sorry I can't help you more, I do not know how it works.

Marco

··· On Tuesday, January 21, 2014 5:21:04 PM UTC+1, Xesc Arbona wrote:

Is that normal? I’ve read in other topics that it should also create A
records. How does that work?

Check your associations in the web UI - assigning the proxy to the subnet
will allow it to create PTRs, assigning it to the domain will allow it to
create As

Greg

··· On 21 January 2014 16:21, Xesc Arbona wrote:

Hi all,

Is that normal? I’ve read in other topics that it should also create A
records. How does that work?

That was it! My smart-proxy was just assigned to the subnet. After
assigning it to the domain as well, it added an A record.

Thanks!

<http://tophelp.topdesk.com/tas/secure/openpage.jsp?url=%2Ftas%2Fsecure%2Fmango%2Fincident%3Funid%3D5f0f4e7fc9d44b4bbda5769fbf736834>
Xesc

··· On Wednesday, January 22, 2014 2:13:17 PM UTC+1, Greg Sutcliffe wrote: > > On 21 January 2014 16:21, Xesc Arbona <xesc....@gmail.com >wrote: > >> Hi all, >> >> Is that normal? I've read in other topics that it should also create A >> records. How does that work? >> > > Check your associations in the web UI - assigning the proxy to the subnet > will allow it to create PTRs, assigning it to the domain will allow it to > create As > > Greg >

Hi all,

I have a similar problem.

My DNS server is FreeIPA and I configured foreman to update my zones. That
works good so far except foreman only update my PTR records and not my A
records. In the logs from the Smart Proxy is nothing about a try to update
A records.
Your solution was to assign the proxy to the domain but I think it´s
already done in my setup.

Can anyone help me with this issue?

Thx,
Martin

··· Am Donnerstag, 23. Januar 2014 12:47:04 UTC+1 schrieb Xesc Arbona: > > On Wednesday, January 22, 2014 2:13:17 PM UTC+1, Greg Sutcliffe wrote: >> >> On 21 January 2014 16:21, Xesc Arbona wrote: >> >>> Hi all, >>> >>> Is that normal? I've read in other topics that it should also create A >>> records. How does that work? >>> >> >> Check your associations in the web UI - assigning the proxy to the subnet >> will allow it to create PTRs, assigning it to the domain will allow it to >> create As >> >> Greg >> > > That was it! My smart-proxy was just assigned to the subnet. After > assigning it to the domain as well, it added an A record. > > Thanks! > > > > Xesc >