Changing the default dns server

I have edited the file /etc/resolv.conf and added the nameserver of the google public dns.  How can i verify if google dns are used?

Install dnsutils.
[bill@Jeremiah ~]$ pacman -Ss dnsutils
core/dnsutils 9.9.2.P1-1 [installed]
DNS utilities: dig host nslookup
[bill@Jeremiah ~]$ dig www.google.ca
; <<>> DiG 9.9.2-P1 <<>> www.google.ca
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43374
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;www.google.ca. IN A
;; ANSWER SECTION:
www.google.ca. 300 IN A 173.194.75.94
;; Query time: 74 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Fri Feb 1 14:03:13 2013
;; MSG SIZE rcvd: 58
This is the output of my machine which is set to use Google DNS.  Notice the "SERVER" part: 8.8.8.8 which is Google DNS.
Also, once you've edited resolv.conf then a reboot may overwrite your settings.
Put:
nameserver 8.8.8.8
nameserver 8.8.4.4
In it for Google DNS, THEN:
sudo chattr +i resolv.conf
To make it immutable so no other program can overwrite (change) the file.  If you ever want the file to be changeable again "chattr -i resolv.conf"
Last edited by headkase (2013-02-01 17:41:22)

Similar Messages

  • Changing the "Preffered DNS Server" possible?

    hi guys,
    I'm trying to do something pretty obscure here so bear with me:
    I have a Dreamcast and want to go online with it. I've order a Broadband Adapter for it (Yes they did make them for it!) and in order to connect to the private servers (as the official Sega servers went offline in 2007) you need to change the preferred DNS server within the Dreamcasts browser software.
    I tried it on BT Dial Up via the Dreamcasts standard Dial Up Modem but it wouldn't work and upon phoning BT support they told me it wasn't possible.
    So all I want to know is can it be done on Broadband/infinity? I just want to point the DC to another server, not my whole network. It won't mess anything else up right? Thanks for your patience!
    Tony

    The default gateway should be left at 192.168.1.254 (Home Hub default) as that is the path to the Internet. If you set it to obtain the IP address automatically, then the default gateway will be set automatically. I am assuming that you are not using static IP addresses on your network.
    The DNS should be set to manual, and you will need to enter the recommended DNS addresses (normally two of them)
    If it is left to automatic, then it actually defaults to 192.168.1.254, which is not what you want.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • How to change the default mail server??? Please help.

    I need to change the default mail server to my yahoo account. When I had my PC this was easy but I cannot figgure it out on the MAC. I am in China and I need to inform my insurance company of some information or they are going to cancel a policy. When I go to their site for email contact what pops up is the apple email, which I do not have an account for and ofcourse does not work. Their email address does not show and I cannot find it anywhere so I need to change the default to my yahoo account. On my PC this was easy and when I went to a site that had a contact but no email address, my yahoo account would come up. I hope I am explaining this correctly. I really need to do this fast as the letter I got took some time to get here and I just returned from some field work so I have about 2 or 3 days to get the information to them. Thank you.

    John,
    This does not demonstrate anything for me, since it brings up a Compose window for Mail, with my preferred account as the From address. This happens whether I access with Safari, or with Firefox.
    The point that I am trying to make, is that in OSX, there is no way to have web mail access become the default mail method -- it only works with a true mail client, for POP, IMAP or .mac access on your Desktop.
    If you have the type of yahoo account that can be setup for POP access with Mail, then when you click, you can choose your yahoo address as the From address to send from.
    Of course you can insert the address in a new message with your Yahoo web mail, but I have understood you to want to have the message start containing the info from one of the pages on the site?
    See the discussion at the following link, for setting up a Yahoo account in Mail:
    http://discussions.apple.com/thread.jspa?messageID=2760483&#2760483
    Ernie

  • Changing the default deployment server.

    Hi.
    Is it possible to change the default deployment server in studio Creator? I�m developing some portlets, and on my computer it takes 3 minutes to deploy a new portlet to my local host, but only a few second to deploy it to a remote server.

    Hi,
    I guess, right now only way is to deploy to remote server( sun appserver and sun webserver) or export the WAR and deploy to any other web/app server
    MJ

  • How do I changing the default WIKI Server name on OS x Lion Server?

    How do I changing the default WIKI Server name on OS x Lion Server? Enterprise solutions suggested I post this question here to get a direct answer. I have searched everywhere... This would be the META TAG On the top of browsers...

    I went looking for this answer, to no avail.
    Solution I used:
    step 1 - Navigate to the folder /usr/share/collabd/coreclient/locales/en.lproj/ and open the only file there called default.strings.
    step 2 - somewhere around lines 74 & 164 you will see the default title "OS X Lion Server". I'm sure only one of the is required to be changed to adjust the title on the window, but I changed both to my desired title. Save and close. If asked for authentication, enter you administrator details.
    step 3 - restart the server (or wiki service may work too)
    step 4 - done and your Wiki welcome page should show the new title
    Finally I have a bookmark that means something by default.
    Hope this helps

  • Changing the default WIKI Server name

    We are running our school owned WIKI Services on a 10.5.7 Server.
    Is there anyway to change the name in the default home page from the "Mac OSX Server" to something more customized without disturbing any content?
    Reaz Shaheed
    Network and Systems Administrator
    American International School/Dhaka

    I am familiar with bash, and I have been looking using root access. Below is the output of ls:
    {quote:title=shell output}{quote}
    bash-3.2# ls -al /usr/share/collaboration/
    total 40
    drwxr-xr-x 14 root wheel 476 Sep 25 2007 .
    drwxr-xr-x 79 root wheel 2686 Sep 6 16:08 ..
    -rw-r--r-- 1 root wheel 1953 Sep 25 2007 api_tests.html
    -rw-r--r-- 1 root wheel 1228 Sep 25 2007 apiunit_testsuite.plist
    drwxr-xr-x 17 root wheel 578 Nov 4 16:48 css
    -rw-r--r-- 1 root wheel 1174 Sep 25 2007 debugMode.html
    -rw-r--r-- 1 root wheel 1653 Sep 25 2007 default_suites.plist
    -rw-r--r-- 1 root wheel 1 Sep 25 2007 fake.qti
    drwxr-xr-x 35 root wheel 1190 Sep 25 2007 images
    drwxr-xr-x 32 root wheel 1088 May 14 2009 javascript
    drwxr-xr-x 3 root wheel 102 Sep 25 2007 strings
    drwxr-xr-x 26 root wheel 884 Sep 25 2007 themes
    drwxr-xr-x 23 root wheel 782 Aug 27 2008 unitTests
    drwxr-xr-x 8 root wheel 272 Sep 25 2007 unittest
    So where's my index.html? Thanks for your help.

  • Changing default DNS Server

    Hi,
    I'm a new BT broadband customer.
    Like most, I have a house full of pcs and gadgets connecting to the Internet.  Many belong to my children.  Naturally, as a responsible parent, I want to do my utmost to limit their access to inappropriate content.
    The basic first line of defence is obviously to have dns filtering.
    However, my Home Hub 3 won't let me change the default dns gateway to some filtering service like OpenDNS, nor is there anything to suggest that BTs own dns service has this capability.
    Can you please, as a matter of the greatest urgency (I believe that my children are currently able to access the most inappropriate content on their mobile devices), tell me how to get this in place.
    Thanks

    Many thanks for the replies on this thread - they are much appreciated, especially the email address.
    As I said, I would regard dns filtering as the first line of defence.  And a very necessary one, as my main concern is with my kids wifi connecting mobile devices.
    What interests me about all this is that, as people have pointed out, there are ways to set the dns gateway per device.  To my mind that completely undermines any argument for not allowing it to be changed on the HH.
    Why might BT want to disable dns setting in the Home Hub?
    i) Because they can then offer valuable dns based services, such as 404 redirection?
       But users can override the dns setting on each device!
    ii) Because it is one less thing that could be miss-set, so cutting down support calls?
       But users can override the dns setting on each device!
    iii) Because Government might ask us to ban access to certain sites and controlling the dns lookup would help us do this?
        But users can override the dns setting on each device!
    Am I missing something here?  Is there actually a really good reason - because I would shut up if there was one!
    Meanwhile, my kids remain unprotected for a 3rd day

  • I have a Windows Server 2008 R2 system. I am using Adobe Acrobat XI Pro. I am looking for the place where I can change the default font from Minion Pro to Calibri? Tools, Content Editing, Formatting

    I have a Windows Server 2008 R2 system. I am using Adobe Acrobat XI Pro. I am looking for the place where I can Change the Default font from Miinion Pro to Calibri?
    Tools, Content Editing, Formatting

    You can't change it.
    On Tue, Jan 13, 2015 at 11:22 AM, tonywaidmann <[email protected]>

  • I don't know much about computers can anyone walk me through this ? How Do I Change The Software Update Server Address On A Client  ? what do I open and how do i put it in the right spot?

    I don't know much about computers can anyone walk me through this ? How Do I Change The Software Update Server Address On A Client  ? what do I open and how do i put it in the right spot?

    The simplest method is to run a defaults command on the client Macs (easily pushed via Apple Remote Desktop):
    defaults write com.apple.SoftwareUpdate CatalogURL 'HTTP_URL_FOR_CATALOG'
    for a user. If you run it via sudo it will set it for whenever you use softwareupdate as root.
    The HTTP_URL_FOR_CATALOG has been changed with Mac OS X 10.6.  If you use MCX it will automatically pick the new catalog – however if  doing it manually the following URLs need to be used for whichever  client version is in question:
    Mac OS X 10.4: http://mysus.example.com:8088/index.sucatalog
    Mac OS X 10.5: http://mysus.example.com:8088/index-leopard.merged-1.sucatalog.sucatalog
    Mac OS X 10.6: http://mysus.example.com:8088/index-leopard-snowleopard.merged-1.sucatalog
    Mac OS X 10.7: http://mysus.example.com:8088/index-lion-snowleopard-leopard.merged-1.sucatalog
    Mac OS X 10.8: index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
    To double check this applied you can run the following command:
    /usr/libexec/PlistBuddy -c Print /Library/Preferences/com.apple.SoftwareUpdate.plist
    and /usr/libexec/PlistBuddy -c Print ~/Library/Preferences/com.apple.SoftwareUpdate.plist
    to see what settings are for the computer and user appropriately.
    If  this is working correctly when running Software Update (GUI) you should  see the server address appear in parenthesis in the title of the  window.
    MCX
    Another alternative is to use Workgroup  Manager to manage the preferences via MCX from your server. This can be  done for users, or for computers if they are bound to your Open Directory.
    If you are using 10.5 Server or newer: you can simply use the Software Update section under Preferences.
    Manually:
    Choose the accounts, computers, or groups to have the preference applied to.
    Click on Preferences, and then the Details tab
    Press the Add… button and navigate to /Library/Preferences/com.apple.SoftwareUpdate.plist
    Press Edit…
    Under Often, add a New Key and enter the name CatalogURL
    Make sure the type is string and then enter your SUS URL (eg. http://mysus.example.com:8088/index.sucatalog or if using 10.6: http://mysus.examle.com:8088/ – see above from the defaults section)
    Press  Apply Now, then Done. Once users/computers have refreshed their MCX  settings (usually the next login or restart) the new settings will take  over.
    If this is working correctly when running Software  Update (GUI) you should see the server address appear in parenthesis in  the title of the window.
    In order to have a system-wide configuration one has to run the following:
    sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL "http://your.updates-server.lan:8088/index.sucatalog"
    In order to correctly work both on Leopard and Snow Leopard the right command to issue is:
    defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL "http://your.updates-server.lan:8088/index-leopard-snowleopard.merged-1.sucatalog"
    Happily used and tested on my network
    The DNS trick that Chealion points out is fantastic. I use it at our office, and every computer on our LAN  will automatically pull the updates from the local repository at high  speed without any configuration.
    Create the swscan.apple.com DNS zone on your internal DNS server, and have it resolve via an A record to your Mac
    Tags: automaticupdates mac clients macosx setting as default software update
    Category: Serverfault
    Share
    0
    0
    Google +
    0
    0
    0
    5
    You might also like:
    Can I Update My Jb 4s To 6.1.2 Without Restore? Tue. Jan 21st, 2014
    Iphone 4 Not Charging After Update To IOS6 
    IPad 2 Not Updating To IOS 5.1 
    How To Resolve The â€âunable To Install Update” Error For OTA IOS Updates? 
    What Is â€âSoftware Update” Doing When It Says â€âChecking For New Software”? 
    Advertisement
    Comment
    - See more at:  http://www.eonlinegratis.com/2013/how-do-i-change-the-software-update-server-add ress-on-a-client-mac-to-use-my-own-server/#sthash.YhHp5zWk.dpuf

  • Power view in SharePoint - Changing the default save location?

    Is it possible to change the default location when saving Power view back into SharePoint?
    Our users are creating their own power view reports by clicking a power view shared data source in SharePoint document library.
    When saving their reports, the default location is always the same location where the data source is. This is described here also:
    https://support.office.microsoft.com/en-us/article/Power-View-in-SharePoint-Server-Create-save-and-print-reports-f616575e-02bf-46cd-b94a-b744245ef9d1?CorrelationId=a852221e-b063-4020-a20a-53d8e8fb8b8b&ui=en-US&rs=en-US&ad=US
    Quote from the link: "The first time you save the
    report, the default location will be the folder where the model is located."
    Ok, understood. But is it possible to change this???

    Hi again
    Ouch! Not the network!
    One of the hard learned issues that folks are unaware of until they encounter problems is that Captivate does not do well when a project is stored on a network. It's fine to keep projects there in order to back them up or as a transfer pivot location to allow others to edit, but you never want to open Captivate, click File > Open and browse to a network location to open a project for editing.
    Best practice at this point is to keep projects on your local C drive when you make edits.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • How to change the default apex port

    hi,
    i am installed apex4.0 in EBS R12 DB with HTTP Server method. my apex is running from application server 10g and default port is 7777.
    URl: http://hostname:7777/pls/apex
    My EBS R12 running on http://hostname:8007.
    is it possible to change the apex port to EBS Apache port(8007) in R12 and finally i want to change above URL like this
    Before change : http://hostname:7777/pls/apex
    After Change : http://hostname:8007/pls/apex
    Thanks in advanace....

    How to Change the Default SSH Port from Terminal ?
    now showing default SSH Port 22 i need change it pls help me how can do

  • How do I change the default certificate in Java Web Console?

    I have a 3rd party issued server keystore & truststore ready to go in both jks and p12 file formats. I wish to use this in the Sun Java Web Console instead of the self signed certificate. I cannot find any documentation as to changing the certificate. I did find commands to change the keystore and truststore passwords, but I want to change the entire certificate.
    I tried manually messing with the /var/webconsole/domains/console/conf/server.xml configuration file but realized it was more complex than that. Is there a documented procedure for changing the default certifcate?
    Thanks

    Siri will use the default calendar specified in the Mail, Contacts, Calendars setting.
    Go to Settings/Mail,Contacts,Calendars, then scroll down, and change the default in the Calendars section to your the one you prefer.
    hope this helps.

  • Changing the Default Currency in Analytics App's don't change curr symbol

    Hi All,
    We are using BI APPS 7.9.4 with OBIEE 10.1.3.3.2
    We want to change the default currency for reporting from $ to £ in BI Dashboard reports.
    I have edited the currencies.xml file on $INSTALLDIR/OracleBI/web/config
    changed the sybmol to £ from $
    <Currency tag="int:wrhs" type="international" placeholder="true" symbol="£" format="$#" digits="2" displayMessage="kmsgCurrencySiebelWarehouse">
    <negative tag="minus" format="-$#" />
    </Currency>
    <Currency tag="loc:en-GB" type="local" symbol="£" locale="en-GB" format="$#" digits="2">
    <negative tag="minus" format="-$#" />
    </Currency>
    and restarted BI Server, Presentation Server, Java Host and all the OPMN services but the reporting currencies in the dashboard reports are still displayed in $. The report currency symbol is showing $ by default irrespective of the default currency set in the currencies.xml
    Ex: $13459
    Anyone know what this issue could be, please let me know if am missing anything.
    I appreciate your help.
    Rgds, Bhaskar Kolluru
    Edited by: bkolluru on 30-Sep-2008 03:14

    Did you try changing the format setting as well?
    format="£#"

  • How to change the default Path of Prompt Played by MicroApp

    Hi
    I need to store all the Self Service application prompts in dedicated Media Server. I can modify location of all the Media files by passing the related URL form CVP application, however I need to know how to change the default location of Prompt file played by Play Media Microapplication in ICM Scripting.
    Currently the default location taken by Play Media Micro App is the Media _Server.variable path set for VXML Server location while I have a separate Media Server.
    Please advice how we can customize the MicroApp Media path.
    regards
    Kapil Kumar

    Hi Kapil,
    Try this in your ICM script, define set variables i.e.
    set Media Server= ip address of media server
    set Locale = en-us
    set input Type = DTMF only
    set App Media Lib = " you new location i.e. test "
    So, the application path will be
    http://media server ip address/en-us/test
    hope this helps.
    Cheers

  • How to change the default language of form9i?

    How to change the default language of form9i? For example, change the language from Spanish to English.
    Regards!
    Gerald

    Hi,
    set the NLS_LANG parameter and make sure the language supplement classes got installed when installing the deesigntime or server. If you need to change the language for runtime, set the value in the default.env file - assuming its a web based appication
    Frank

Maybe you are looking for

  • MacBook Pro can't detect my projector. Only displays screen saver

    Tried connecting Optoma projector to new Macbook Pro. However only the screen saver is being displayed. When I go to Preferences - Displays - just says that no device is detected and gives no options to change anything. Did not have this problem with

  • Reverse invoice in MIRO

    Experts, if I want to reverse a invoice which is already entered into MIRO, how must I proceed ? Thanks in advance Jörg

  • In trying to type a list of names,addresses, and phone nos. when i tried to print i got each categor

    I set up a list of names, addresses, and phone numbers and when I went to print the printer only printed each column on a different sheet of paper.  I would like to have it printed exactly the way I typed it.  How can I do this?

  • How should a custom cursor image be constructed?

    This relates to Java 1.7_u11 and JFX 2.2.4 on Windows 7 64 bit. When I set a Node's cursor to Cursor.CROSSHAIR, the crosshair is displayed with complementary colour to its screen background (e.g. black on white, blue on yellow, etc.) However when I c

  • Image quality question.

    hello forumers. ive made the this adobe after effect icon.as you can see the left one is perfect quality,when i place it in indesign as an psd file it breaks and looks jagged. and when i export it as a pdf file its also ugly looking,notice the right