09-18-2018 01:29 AM - edited 09-18-2018 01:55 AM
I have a unique situation where I want to be able to add host records with extattributes however I don't wish to use a valid DNS hostname in the 'name' field.
So basically I don't want to use the DNS functionality at all.
I seem to be able to do this via the GUI fine but just going into the network view and adding a new host. I am able to put anything in the 'name' field.
However if I try to add a host record via the API ( at least the ansible modules that I have tested I get the following error)
"msg": "The action is not allowed. A parent was not found.",
Is it possible to create a host record without a valid DNS name?
Solved! Go to Solution.
09-18-2018 05:11 AM - edited 09-18-2018 05:11 AM
Yes, just change the host naming policy first. (Grid DNS properties) Either create a new regex policy to allow your new characters, or change the policy to allow any characters.
This isn't a good idea if you ever intend to serve DNS in this environment. I'd reccomend instead following DNS naming standards and using the comments attribute or an EA to store non-standard data or descriptions.
09-28-2020 07:59 AM
I could not find any regex tab in my Grid properties?
Also, I created a new post regarding the parent not found issue (which I could solve with this regex configuration I guess):