Software Development Kit (SDK) and API Discussions

SDK or API to flush DNS cache on vfiler after SM break

tx
NetApp
1,926 Views

Posting on behalf of a customer -

 

Trying to figure out SDK call to flush the DNS cache on vfiler after we break the snapmirror and export volume on recovery site. Looks like there are no documentation in ZExplorer or community how to perform this task through SDK. I want to check whether NetApp has exposed this function through SDK or API on ONTapi 1.21 7-Mode.

 

Appreciate any feedback.

1 REPLY 1

bobshouseofcards
1,596 Views

Suggestion - use the options-set API to disable the DNS cache, then re-enable by toggling the value of the dns.cache.enable option.  I'd also put a pause between the two changes.

 

 

Hope this helps.

 

Bob Greenwald

Senior Systems Engineer | cStor

NCIE DP/SAN, NCSE Specialist, NCSIE

 

 

 

Public