Skip to content

Scripts to switch between google and opendns name servers in a ubiquiti router config.

Notifications You must be signed in to change notification settings

reteptilian/ubiquiti_dns_updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ubiquiti_dns_updater

Scripts to switch between google and opendns name servers in a ubiquiti router config.

This can be used with cron to turn on opendns site filtering during certain times of the week.

For example, turn on opendns filtering from 7:30 am Monday UTC until noon Friday UTC (11:30pm Sunday PST to 4am Friday PST).

# m h  dom mon dow   command
30 7 * * 1 /home/ubnt/use-opendns-nameservers.sh >> /home/ubnt/use-opendns-nameservers.output 2>&1
0 12  * * 5 /home/ubnt/use-google-nameservers.sh >> /home/ubnt/use-google-nameservers.output 2>&1

About

Scripts to switch between google and opendns name servers in a ubiquiti router config.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages