Last active
September 23, 2021 01:32
-
-
Save henri/d2b8ca0311b4fb1e5ee8bd0192083eff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This works on Ubuntu (likely other GNU/LINUX distributions as well - will test Arch shortly). BIND 9.1 or newer. | |
# flush it all | |
rndc flush | |
rndc reload | |
# flush single domain | |
rndc flushname cnn.com | |
# flush a single view | |
rndc flush internal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment