Post

Replies

Boosts

Views

Activity

networksetup set WIFI 8.8.8.8 not work or SystemConfiguration
HI, I use SCDynamicStoreCopyKeyList to get key,and SCDynamicStoreSetValue to set value to interface. It has been running well for several months. Recently, a large number of dns abnormalities appeared on machines below 10.15. Use scutil --dns on the problematic computer to check that dns has not been set successfully In addition, when I wanted to solve it temporarily, I found that the DNS add button in the network advanced settings was grayed out. Under normal circumstances, only the minus button is grayed out if the value is sent from dhcp. Finally, I want to use sudo networksetup -setdnsservers WiFi 8.8.8.8 to set dns to temporarily solve this problem, but it also does not work. Has anyone encountered this problem, thank you very much for your answers
1
0
529
Nov ’21