You can use resolvconf
if it isn't already installed use: sudo apt-get install resolvconf
.
Then edit the config file: sudo nano /etc/resolvconf/resolv.conf.d/base
.
Enter your nameserves (one per line) with: nameserver xxx.xxx.xxx.xxx
Update resolvconf with sudo resolvconf -u
출처 : http://askubuntu.com/questions/498018/how-to-change-the-dns-server-across-network-interfaces
'나는개발자다' 카테고리의 다른 글
cordova에서 내 전화번호 가져오기 (2) | 2015.06.17 |
---|---|
네이버 아이디 로그인 Javascript로 AccessToken얻어오기 (7) | 2015.05.01 |
maven의 dependency를 이용해서 jar 다운 받기 (0) | 2015.03.07 |
java 구연한 네이버 open api로 카페 최신 글 가져오기. ( oauth 포함) (1) | 2015.01.07 |
phonegam 을 이용한 GCM 서버와 Push client 연동 (0) | 2014.12.08 |