Project

General

Profile

Actions

Support #35087

open

DNS POST: how to force record creation

Added by Stephan Schultchen almost 2 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

hi, i am using the foreman smartproxy on its own.

i know that foreman is able to force record creation/overwrite, if for example a PTR record for an ip is still present.

i guess foreman is setting some attribute in the post body for this, could you please let me know the name and value of the parameter to force record creation?


Related issues 1 (1 open0 closed)

Related to Foreman - Bug #13696: Rebuild Config deletes PTR records but does not add themNewActions
Actions #1

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

I think Foreman deletes it because we don't have code to force it. From a REST perspective you would expect PUT /:value/:type but there's no implementation for that. Would be a good enhancement though.

Actions #2

Updated by Stephan Schultchen over 1 year ago

okay so the solution right now would be to make a POST call, if it fails with a duplicate resource error (or whatever it is throwing), make a DELETE call, and then retry the POST again.

that would also work for me, thx

Actions #3

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • Related to Bug #13696: Rebuild Config deletes PTR records but does not add them added
Actions

Also available in: Atom PDF