Showing posts with label change. Show all posts
Showing posts with label change. Show all posts
Thursday, August 24, 2017
Tweaking dhcp client configuration to change the default DNS servers to Open DNS
Tweaking dhcp client configuration to change the default DNS servers to Open DNS
The DNS servers of my ISP is always behaving erratically. The DNS look up times are abysmally large and some times I get an address not found error while browsing. On ubuntu/debian systems the DNS servers are specified in /etc/resolv.conf. I tried to edit /etc/resolv.conf and put open dns servers as default DNS servers. But, my ISP supplies their DNS server address along with IP address for the system via DHCP. Every time my system renews its DHCP lease. my /etc/resolv.conf is also rewritten with their DNS address.
My /etc/resolv.conf ( supplied by ISP) looks like this.
$ cat /etc/resolv.conf
domain asianetindia.com
search asianetindia.com
nameserver 202.88.238.3
nameserver 202.88.238.5
nameserver 202.88.231.2
There is a trick I used to make Open DNS servers as my default DNS server.
Edit /etc/dhcp3/dhclient.conf and look for the line.
#prepend domain-name-servers 127.0.0.1;
Add the following line immediately below the above line.
prepend domain-name-servers 208.67.222.222;
prepend domain-name-servers 208.67.220.220;
You can also put any other DNS servers.
Now renew the lease with
$ sudo dhclient eth0
The new /etc/resolve.conf looks like this.
$ cat /etc/resolv.conf
domain asianetindia.com
search asianetindia.com
nameserver 208.67.220.220
nameserver 208.67.222.222
nameserver 202.88.238.3
nameserver 202.88.238.5
nameserver 202.88.231.2
DNS look up is made from open dns.
download file now
Wednesday, August 16, 2017
TUTORIAL GIF CHANGE COLOR in PHOTOSHOP
TUTORIAL GIF CHANGE COLOR in PHOTOSHOP
-_- udah lama nga update Blog
okeh pada kesempatan yang berbahagia ini saya ingin mengshare sedikit tentang cara membuat gif di photoshop (dasarnya aja)
okeh
enjoy.....
NB: Jika Gambarnya tidak jelas Silahkan Di klik
download file now
Monday, August 14, 2017
Ubuntu Change Default Editor
Ubuntu Change Default Editor
Your terminal should have a default editor. This is what is used whenever you run commands like
crontab -e
. It may not be set to what you like, or your preferences may have changed. To change it, simply run the following command: sudo update-alternatives --config editor
# You may also need to run this one for crontab
select-editor

Now enter the number representing the editor you would like to default to
Now that is set, you can use the editor command in substitute for
nano
or vim
. This is great for people who write tutorials because now we dont have to assume what you like to use. For example, I will try to make sure my tutorial steps are like below:editor my-config-file.txt
Instead of:
vim my-config-file.txt
References
download file now
Subscribe to:
Posts (Atom)