Refresh NTP Servers on EdgeRouter

This guide will run through a two step process on configuring the routers DNS fowarder and pulling a fresh date/time value from the listed time server (NTP). The below commands should work with most Vyatta variants such as VyOS, EdgeOS (Ubiquiti EdgeRouters).

Configure DNS Servers:

user@router# set service dns forwarding name-server 8.8.8.8
user@router# set service dns forwarding name-server 8.8.4.4
user@router# commit ; save

Configure Time Servers:

user@router# set system ntp server pool.ntp.org
user@router# commit
user@router# delete system ntp server pool.ntp.org
user@router# commit ; save

user@router~$ show date