Command Line
[root@bigip-lab1:Active:Standalone] config # tmsh
root@(bigip-lab1)(cfg-sync Standalone)(Active)(/Common)(tmos)# /sys dns
root@(bigip-lab1)(cfg-sync Standalone)(Active)(/Common)(tmos.sys.dns)# modify name-servers add {8.8.8.8 8.8.4.4}
Graphic user interface equivalent
Delete the dns entry for bigip
root@(bigip-lab1)(cfg-sync Standalone)(Active)(/Common)(tmos.sys.dns)# modify name-servers delete {202.65.242.122 202.65.242.130}
Check the dns configuration
root@(bigip-lab1)(cfg-sync Standalone)(Active)(/Common)(tmos)# list sys dns
sys dns {
description [google_dns]
name-servers { 8.8.8.8 8.8.4.4 }
}