How to Change DNS Server In Windows/Mac/Linux OS

How to Change DNS Server In Windows/Mac/Linux OS


How to change DNS server Settings:

# Windows OS

# Changing DNS Server Settings on Windows OS
  1. Go to the Control Panel.
  2. Click Network and Internet > Network and Sharing Center > Change adapter settings.
  3. Select the connection for which you want to configure Google Public DNS. For example:
    • To change the settings for an Ethernet connection, right-click Local Area Connection > Properties.
    • To change the settings for a wireless connection, right-click Wireless Network Connection > Properties.
    If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
  4. Select the Networking tab. Under This connection uses the following items, select Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6) and then click Properties.
  5. Click Advanced and select the DNS tab. If there are any DNS server IP addresses listed there, write them down for future reference, and remove them from this window.
  6. Click OK.
  7. Select Use the following DNS server addresses. If there are any IP addresses listed in the Preferred DNS server or Alternate DNS server, write them down for future reference.
  8. Replace those addresses with the IP addresses of the Google DNS servers:
    • For IPv4: 8.8.8.8 and/or 8.8.4.4.
    • For IPv6: 2001:4860:4860::8888 and/or 2001:4860:4860::8844.
  9. Restart the connection you selected in step 3.
  10. Test that your setup is working correctly; see Test your new settings below.
  11. Repeat the procedure for additional network connections you want to change.

# Mac OS

DNS settings are specified in the Network window.

Changing DNS server settings on Mac OS 10.5

  1. Click Apple > System Preferences > Network.
  2. If the lock icon in the lower left-hand corner of the window is locked, click the icon to make changes, and when prompted to authenticate, enter your password.
  3. Select the connection for which you want to configure Google Public DNS. For example:
    • To change the settings for an Ethernet connection, select Built-In Ethernet, and click Advanced.
    • To change the settings for a wireless connection, select Airport, and click Advanced.
  4. Select the DNS tab.
  5. Click + to replace any listed addresses with, or add, the Google IP addresses at the top of the list:

    • For IPv4: 8.8.8.8 and 8.8.4.4
    • For IPv6: 2001:4860:4860::8888 and  2001:4860:4860::8844
  6. Click Apply > OK.
  7. Repeat the procedure for additional network connections you want to change.

# Linux OS

# Changing DNS server settings on Ubuntu
  1. Click System > Preferences > Network Connections.
  2. Select the connection for which you want to configure Google Public DNS. For example:
    • To change the settings for an Ethernet connection, select the Wired tab, then select your network interface in the list. It is usually called eth0.
    • To change the settings for a wireless connection, select the Wireless tab, then select the appropriate wireless network.
  3. Click Edit, and in the window that appears, select the IPv4 Settings or IPv6 Settings tab.
  4. If the selected method is Automatic (DHCP), open the dropdown and select Automatic (DHCP) addresses only instead. If the method is set to something else, do not change it.
  5. In the DNS servers field, enter the Google Public DNS IP addresses, separated by a space:

    • For IPv4: 8.8.8.8 and/or 8.8.4.4
    • For IPv6: 2001:4860:4860::8888 and/or 2001:4860:4860::8844
  6. Click Apply to save the change. If you are prompted for a password or confirmation, type the password or provide confirmation.
  7. Repeat the procedure for additional network connections you want to change.
If your distribution doesn't use Network Manager, your DNS settings are specified in /etc/resolv.conf.


# Changing DNS server settings on a Debian server

  1. Edit /etc/resolv.conf:
    sudo vi /etc/resolv.conf
  2. If any nameserver lines appear, write down the IP addresses for future reference.

  3. Replace the nameserver lines with, or add, the following lines:

    For IPv4:
    nameserver 8.8.8.8
    nameserver
    8.8.4.4
    For IPv6:
    nameserver 2001:4860:4860::8888
    nameserver
    2001:4860:4860::8844
  4. Save and exit.
  5. Restart any Internet clients you are using.
Additionally, if you are using DHCP client software that overwrites the settings in /etc/resolv.conf, you will need to set up the client accordingly by editing the client's configuration file.


# Configuring DHCP client sofware on a Debian server

  1. Back up /etc/resolv.conf:
    sudo cp /etc/resolv.conf /etc/resolv.conf.auto
  2. Edit /etc/dhcp3/dhclient.conf:
    sudo vi /etc/dhcp3/dhclient.conf
  3. If there is a line containing domain-name-servers, write down the IP addresses for future reference.
  4. Replace that line with, or add, the following line:

    For IPv4:
    prepend domain-name-servers 8.8.8.8, 8.8.4.4;
    For IPv6:
    prepend domain-name-servers 2001:4860:4860::8888, 2001:4860:4860::8844;
  5. Save and exit.
  6. Restart any Internet clients you are using.

DNS Server List:

>> Some Fastest DNS Servers List <<


.

Post a Comment

[blogger][disqus][facebook][spotim]

Author Name

{picture#https://instagram.fbom1-2.fna.fbcdn.net/t51.2885-19/s150x150/17662158_221658868312088_138323287238246400_a.jpg} Hi, I am Swapnil Zambare. I love to explore Computer and Internet. My aim is to spread tips and tricks related to Hacking, Computer, Android phones, Blogging, SEO, Social networks and many mores all over the world for free so that every one can enjoy our Premium Services for Completely Free. {facebook#https://www.facebook.com/SwapnilTech} {twitter#https://twitter.com/swapnilzambare7} {google#YOUR_SOCIAL_PROFILE_URL} {pinterest#YOUR_SOCIAL_PROFILE_URL} {youtube#YOUR_SOCIAL_PROFILE_URL} {instagram#https://www.instagram.com/theswapnilzambare/}

Contact Form

Name

Email *

Message *

Powered by Blogger.