(solved)How to change IP resolve configuration?
-
- Posts: 36
- Joined: Mon 07 Nov 2011, 15:45
- Location: Surabaya,indonesia
(solved)How to change IP resolve configuration?
How to change resolve configuration? I need to change to 8.8.8.8 and 8.8..4.4
in order not to auto use my ISP DNS.thanks for help
in order not to auto use my ISP DNS.thanks for help
Last edited by gundul3l3k on Fri 02 Dec 2011, 01:00, edited 1 time in total.
Use /etc/resolv.conf.head with this in it to keep the nameservers:
Code: Select all
# Generated by dhcpcd from wlan0
# /etc/resolv.conf.head can replace this line
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 63.226.12.96
nameserver 72.3.208.251
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
-
- Posts: 36
- Joined: Mon 07 Nov 2011, 15:45
- Location: Surabaya,indonesia
Did you try trapster's suggestion above? Go to the folder /etc and create a new file called resolv.conf.head. Add these lines.
Code: Select all
nameserver 8.8.8.8
nameserver 8.8.4.4
-
- Posts: 36
- Joined: Mon 07 Nov 2011, 15:45
- Location: Surabaya,indonesia
AFAIK the chatscripts that initialise a modem automatically recreates the file /etc/resolv.conf each time and that file (at least on my system) is the authoritative port of call when determining what DNS servers are going to be used.gundul3l3k
PostPosted: Today, at 00:13
@rcrsn51... yes I have made thats file but the same result when I connect to internet .my ISP DNS shown up. Sad it must be akind of script to comannd wvdial/booting conf/ what ever it is ,not to automaticaly use default dns.
So, for example, in order to use a local DNS caching service I had to insert the local nameserver IP into /etc/resolv.conf after starting up the modem but before running Firefox.
-
- Posts: 36
- Joined: Mon 07 Nov 2011, 15:45
- Location: Surabaya,indonesia