THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

API & Integration, DevOps,NetOps,SecOps

Reply

Does the WAPI strip whitespace in response?

New Member
Posts: 1
557     0

The name of a delegated server for some zones in our Infoblox contain an extra space at the end. e.g. 10.0.0.0/24 is delegated to "something.example.com "

Notice the trailing space added by mistake.

 

When a slave running bind downloads this zone, the check-names option gives error

 

Apr 12 12:50:15 randomServer named[53664]: zone 10.in-addr.arpa/IN: 0.0.10.in-addr.arpa : something.example.com\032: bad name (check-names)

 

But the API response does not contain this extra space so I am not able to filter faulty ones out from all our delegated zones:

{'_ref': 'zone_delegated/blahBlah:10.0.0.0%2F24/viewName', 'delegate_to': [{'address': '255.255.255.255', 'name': 'something.example.com'}], 'fqdn': '10.0.0.0/24', 'view': 'viewName'}

Is the API stripping this trailing space? 
Any way I can stop it from happening?

 

Showing results for 
Search instead for 
Did you mean: 

Recommended for You