Forum Discussion
Can we add/Remove DNS zones & resource records via TMSH in GTM?
If yes please provide the CLI command for remove the zone(Include all records in that zone). GUI : DNS -->Zones--> Zone runner-->Zone list
Unfortunately there is no tmsh access into ZoneRunner. You have to manually edit BIND if you don't want to use the GUI. Take a look at this SOL for the supported method of making manual changes to the BIND configuration. https://support.f5.com/kb/en-us/solutions/public/7000/000/sol7032.html
- Frank_30530Altocumulus
Could we use bash like this to (for example: add) RR to a ZoneRunner zone:
printf 'server 127.0.0.1\nupdate add www.example.com 86400 A 1.2.3.4\nsend\n' | nsupdate
and to delete it:
printf 'server 127.0.0.1\nupdate delete www.example.com 86400 A 1.2.3.4\nsend\n' | nsupdate
or even (this will delete all RRs for 😞
printf 'server 127.0.0.1\nupdate delete www.example.com\nsend\n' | nsupdate
This would also make it possible to add/delete CAA RRs (not supported by ZoneRunner currently) to a zone without having to freeze and thaw the zone (K7032😞
printf 'server 127.0.0.1\nupdate add example.com 86400 CAA 0 issue "letsencrypt.org"\nsend\n' | nsupdate
Or would that interfere with ZoneRunner?
- Brad_Parker_139Nacreous
Unfortunately there is no tmsh access into ZoneRunner. You have to manually edit BIND if you don't want to use the GUI. Take a look at this SOL for the supported method of making manual changes to the BIND configuration. https://support.f5.com/kb/en-us/solutions/public/7000/000/sol7032.html
- Mohamed_Ismail1NimbostratusThank you Brad for your swift response!
- JRahmAdmin
You can manage the named files via tmsh bash utility indirectly, or via a tmsh script / iApp. Would need careful planning following the guidance in the knowledge base article Brad posted above. I discussed this as part of this week's Post of the Week video.
 
- Brad_ParkerCirrus
Unfortunately there is no tmsh access into ZoneRunner. You have to manually edit BIND if you don't want to use the GUI. Take a look at this SOL for the supported method of making manual changes to the BIND configuration. https://support.f5.com/kb/en-us/solutions/public/7000/000/sol7032.html
- Mohamed_Ismail1NimbostratusThank you Brad for your swift response!
- JRahmAdmin
You can manage the named files via tmsh bash utility indirectly, or via a tmsh script / iApp. Would need careful planning following the guidance in the knowledge base article Brad posted above. I discussed this as part of this week's Post of the Week video.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com