Ubiquiti EdgeRouter

commands

Show version show version
Show DNS cache statistics show dns forwarding statistics
Flush DNS cache clear dns forwarding cache

back up config

scp user@router /config/config.boot
 
# alternatively:
ssh user@router cat /config/config.boot > config_backup.txt

(source)