[Solved] How to list which DNS I am using?

Edit, solution to find which DNS you are using.  Install:
sudo pacman -S dnsutils
To get the "dig" command.  Then use it:
dig http://www.google.ca
And at the bottom of the output you will see
SERVER:
Which is immediately followed by the DNS you are using.
Thank you x33a.
Original post:
I'm trying to use Google DNS which are 8.8.8.8, and 8.8.4.4.  I have a pure systemd installation and have the dhcpcd service unit active:
[email protected] loaded active running dhcpcd on eth0
In my /etc/dhcpcd.conf file I have the following:
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.
# Inform the DHCP server of our hostname for DDNS.
hostname
# To share the DHCP lease across OSX and Windows a ClientID is needed.
# Enabling this may get a different lease than the kernel DHCP client.
# Some upstream DHCP servers may also require a ClientID, such as FRITZ!Box.
#clientid
# A list of options to request from the DHCP server.
#option domain_name_servers, domain_name, domain_search, host_name
option domain_name, domain_search, host_name
option classless_static_routes
nooption domain_name_servers
# Most distributions have NTP support.
option ntp_servers
# Respect the network MTU.
option interface_mtu
# A ServerID is required by RFC2131.
require dhcp_server_identifier
# A hook script is provided to lookup the hostname if not set by the DHCP
# server, but it should not be run by default.
nohook resolv.conf
nohook lookup-hostname
noipv4ll
With the only changes being "nooption domain_name_servers" and "nohook resolv.conf".
Then in my /etc/resolv.conf I have the nameservers:
# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
nameserver 8.8.8.8
nameserver 8.8.4.4
#nameserver 192.168.0.1
# /etc/resolv.conf.tail can replace this line
/etc/resolv.conf has had "chattr +i" done to it to make it immutable from changes.
I think I have it all set-up correctly, as in it all works, but I do not know of an explicit command to tell me exactly which DNS I am using.
Last edited by headkase (2012-10-13 14:53:54)

I switched my nameservers over to OpenDNS: http://www.opendns.com/
Because they have a test page: http://www.opendns.com/welcome/
And I got a successful result.  So, to change that all I modified were the nameserver numbers in "/etc/resolv.conf".  So, I assume that I configured "/etc/dhcpcd.conf" correctly.  With the OpenDNS nameservers those now come up as prepopulated in namebench too.  Thanks again, solved.

Similar Messages

  • How to identify Which function modules are used in the planning area?

    Hi all,
    there are couple of function module derviation is used to derive the calendar year, month, fiscal period etc.
    But how to identify which function module is used in which planning area?
    I cant find out from the where used list from function modules?
    Thanks
    pooja

    Hi Pooja,
    Go to characteristic relationship tab,click on detail icon on extreme left of the derivation,there you will get the name and the details of function module used for derivation.
    Regards,
    Indu

  • How to query which Tcodes specified user used with one day?

    Hi guys:
      How to query which Tcodes specified user used with one day?

    Hi
    You can use transaction code ST03N.
    1. Go to tx code - ST03N
    2. Under "Workload" you can select your "Instance or Total" so that it expands and shows you Days, Week, Month.
    3. If you want to look at the transactions executed for a particular day, lets say, then double click on any day.
    4. At the bottom left you get "Analysis Views"
    5. Select & expand "User and Settlement Statistics"
    6. Double click on "User Profile"
    7. On the right side of the window you get a list of all the users
    8. Double click on a particular user you want to view the details of.
    9. The new screen will display the "Transactions/Reports Utilized by User XXX"
    If you wanna track which users executed a particular transacation then follow this:
    10. In "Analysis Views" expand "Transaction Profile"
    11. Double click on "Standard"
    You can view the list of Transactions and Reports.
    12. Double click on the Tx Code or Report you wanna check and it will show the Use of it.
    This will help you.
    Regards
    Sumit Jain
    [reward with points if the answer is useful]

  • How to findout which Tibco adaptor is used in our system?

    Hi All,
    In our system ,which is a Java enterprise application ,Tibco adaptor is used to connect to the database.
    That adaptor is going to be upgraded. I would like ot do a technical research on that. But im new to the system.
    Could anyone help me ,how to findout which Tibco adaptor is used in our system?
    Thanks in advance.
    Ameena

    There's nothing stopping you from using the generated sequence for something else, however you can NOT override it when doing an insert (as long as you've specified ALWAYS which is the default).
    SQL> create table t
      2  (some_id number generated as identity
      3  ,name varchar2(30)
      4  );
    Table created.
    SQL> select * from user_sequences;
    SEQUENCE_NAME
    ISEQ$$_91970
    SQL> select ISEQ$$_91970.nextval from dual;
                 NEXTVAL
                       1
    SQL> select ISEQ$$_91970.nextval from dual;
                 NEXTVAL
                       2
    SQL> insert into t values (99,'smith');
    insert into t values (99,'smith')
    ERROR at line 1:
    ORA-32795: cannot insert into a generated always identity column

  • How to know which apple id is used to activate iphone?

    I have iphone 4 which is second hand phone. So how to know which apple id is used to activate iphone. My id or first owner's id.

    As i told i do not him, means where he will be, and i do not have his number. Is there any method to that is my id is used to activate iphone or other's id, without putting my iphone in activation lock.

  • How to know which port is being used by which process

    Hi,
    Could you please tell me how to know which port is being used by which process.as iam getting ports are already in use.
    Thank you,
    Sravan
    Message was edited by:
    sravan123

    Your OS might provide a command to support this question like '"netstat".
    Besides, on Unix the pseudo-file system /proc is also useful.

  • [Solved] How to list installed AUR packages ?

    Hi,
    I use "packer" to install AUR packages.
    How can I get a list of installed AUR packages ?
    Thanks for your help
    - PierreR
    Last edited by PierreR (2011-12-06 11:37:40)

    You should focus your Google searches to the forum
    site:bbs.archlinux.org how to list installed AUR packages
    https://www.google.com/search?q=site%3A … 78&bih=977 (I used your title for the search)
    You can set the settings to pick only the hits from e..g the last year.

  • Impact Analysis: How to trace which objects and tables used in a report?

    Impact Analysis: How to trace which Webi objects and tables used in a report?
    Currently, our company have been using BO Webi as our ad-hoc and reporting tool for over a year now.  Past several months, we've been pushing our power users to develop their own report, and started to notice that we loss track off which data (tables, columns, ... , BO objects) being used where and by whom.   The BI team now spend more time tracing through reports manually, instead of designing Universe.
    After consulted with our local  SAP  technical sale, they said the only solution is to buy BO's ETL (Data Integration) and
    Metadata Management tool, which price starting from $300K per CPU.  I suppose that is NOT the right solution; however, we have not found one yet.  Some executives believe Cognos (now by IBM) would provide a better BI solution as we scale.
    If anyone know, please provide (1) Impact Analysis method: How to trace which Webi objects and tables used in a report? and (2) Does Cognos provide better impact analysis method without a heavy spending?
    Thank you very much,
    Ed
    Edited by: EdPC-SCB on Sep 8, 2009 3:56 PM

    EdPC-SCB,
    have you tried enabling auditing?
    - Yes, audit log only shows user's activities which isn't useful for us. Please let us know any audit log that might be helpful .
    For most of the servers listed in the CMC there is an "Audit" tab.  I'd say if you have the disk space in your database for Auditor available, then if in doubt turn it on (at least for a while) to see if it exposes what you are seeking to find out --that'd be the quickest way.  The documentation (xir2_bip_auditor_en.pdf) doesn't offer much in helping you to see a correlation between ticking on an Audit option in a Server and how it will populate in the Auditor DB -- most of us just hunt and peck until we get what we want.  Once you have the good stuff in each of the Servers ticked on you'll be able to track down which report recieves which object.  To help youself out initially, you should run every report that you can find so Auditor will get seeded.
    thanks,
    John

  • EA6900 - possible to see which DNS is being used?

    Hi
    On the Ea6900 is it possible to see which DNS server addresses are being used? I've left them as 0 so obviously my ISP's DNS are being used but i need to see what they are.
    Cheers
    Solved!
    Go to Solution.

    @psychopomp1 .. Under your Router Settings, click Troubleshooting .. click the Status tab. .. in there your will see Report, click that and it will give you all the information you are looking for as to the DNS entries being brought down from your ISP.

  • How to find which devices are still using affected domain controller

    Hi Everyone,
    We have a 5 Domain controller's in a Site. And we are going to decommisson one of our affected DC in a site.
    Can you please let me know how to find  the log files to see which devices are still using this domain controller.
    Regards,
    Neel kamal
    Neel kamal

    Neel,
    From strictly an Active Directory perspective, there is nothing special you need to do to decommission a domain controller in a site.  There are many processes that automatically balance out and recreate connections as needed without any user intervention. 
    The DC Locator process will automatically direct clients to active domain controllers, there is nothing you need to do here. 
    What you need to be concerned with are things like the following:
    DNS - Are you running AD integrated DNS and is the DC you are decommissioning hosting that roll - if so, is it the ONLY DC in the
    site that is running DNS?  You'll need at least one in the site.
    DHCP server - Is the DC you are demoting a DHCP server?  You'll need to account for that.
    Global Catalog - Is the DC you are demoting a Global Catalog server?  You'll need at least one in the site.
    File Shares - Is the DC hosting any files shares?  You'll need to move those and make sure you redirect your clients.
    Was this DC a set as a Preferred Bridgehead Server?  You'll need to undo that first.
    Those are the big ones that come to mind.  Decommissioning a DC is easy if you have prepared properly.  The others that have replied have offered some great advice which you should follow.  Do your homework and you should be fine.
    Hope that helps
    Gary
    Gary G. Gray
     MCP, MCTS, MCITP, MCT Alumni
    Please remember to mark the replies as answers if they are helpful.
    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

  • How to determine which adapter to be used in a scenario

    Hi All,
    I am new to XI and have some very basic knowledge about it.
    I wish to know if I need to send data from a legacy(system A) to SAp (system B) how do I know what adapter to use. Should I use file, idoc ,JMS etc adapter.
    Is there a specific guide which I can use to know which adapter should be used in which conditions.
    Appreciate if you could guide me to some relavent weblog/steps.
    Thanks
    Shirin

    Hi Shirin,
    Before u start developing the objects in SAP-XI,kindly go through the below  mentioned blogs which would definitely help u in the road ahead.These blogs are meant for the freshers to XI like u...
    /people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i
    /people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii
    /people/sravya.talanki2/blog/2006/12/27/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-iii
    /people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    These would definitely give u a good start into the world of SAP-XI
    Regards,
    Lokesh
    PS:Reward points if useful

  • How to know which BAPi is being used for creation of PO in classic scenario

    Hello Experts,
    We are in SRM 7.0 classic scenario.
    How can we know which BAPI is being used in the calssic scenario i.e. How can we know if we are usind BAPI_PO_CREATE or BAPI_PO_CREATE1 for creation of PO?
    Any pointers will be highly appreciated.
    Thank you in advance,
    Thanks & Regards,
    RKS

    Hi RKS
    yesterday BLOG by our SUMMER WANG helps every SRM consultant to debug the PO error
    /people/summer.wang/blog/2010/05/11/trouble-shooting-of-srm-po-transfer-error
    Good work Summer wang !!
    Muthu

  • How to know which compression scheme is used in a TIFF file

    I have an application which processes multipart tiff files. How can I extract the header of TIFF file to know which compression scheme is used in it.

    Post Author: V361
    CA Forum: Integrated Solutions
    What are you using CR XI ? or ???

  • How to find which tables are being used by a workbook.

    I was asked by the client to generate a report which will show the Workbook name and it's corresponding tables/views.
    Any idea on how to use the EUL tables for this purpose. I know the SQL query to find the tables in case the workbook was run at least once. But I want to show the Workbook and it's table details even the report was never run.
    Advanced thanks,
    Lokesh.

    Hi Jay
    While we're on the subject of scripts, here's a couple more you might like:
    Script 1:
    =========
    This one shows you how many times an item has been used. It is useful for determining how often users make use of items in a folder. It could be used as research for a materialized view, for dropping items which are not used, or for understanding usage.
    SELECT
    OBJ.OBJ_NAME FOLDER,
    EXP.EXP_NAME ITEM,
    COUNT(QPP.QS_ID) USAGE
    FROM
    EUL5_OBJS OBJ,
    EUL5_QPP_STATS QPP,
    EUL5_EXPRESSIONS EXP
    WHERE
    OBJ.OBJ_NAME = <Folder Name>
    AND OBJ.OBJ_ID = EXP.IT_OBJ_ID
    AND INSTR(QPP.QS_OBJECT_USE_KEY,OBJ.OBJ_ID) > 0
    AND INSTR(EUL5_GET_ITEM_NAME(QPP.QS_ID),EXP.EXP_ID) > 0
    GROUP BY
    OBJ.OBJ_NAME,
    EXP.EXP_NAME;
    Script 2:
    =========
    This one examines the whole EUL and displays a count of the number of times a worksheet has been run by folder. It also shows the date and time of the last run. This one is useful to determine the most and / or least popular worksheets. Adjusting the ORDER BY clause can throw up some interesting results.
    SELECT
    OBJ.OBJ_NAME FOLDER,
    MAX(QPP.QS_CREATED_DATE) LAST_DATE,
    QPP.QS_DOC_OWNER OWNER,
    QPP.QS_DOC_NAME WORKBOOK_NAME,
    QPP.QS_DOC_DETAILS SHEET_NAME,
    COUNT(QPP.QS_ID) USAGE
    FROM
    DRAKE.EUL5_OBJS OBJ,
    DRAKE.EUL5_QPP_STATS QPP
    WHERE
    INSTR(QPP.QS_OBJECT_USE_KEY,OBJ.OBJ_ID) > 0
    GROUP BY
    OBJ.OBJ_NAME,
    QPP.QS_DOC_OWNER,
    QPP.QS_DOC_DETAILS,
    QPP.QS_DOC_NAME
    ORDER BY
    OBJ.OBJ_NAME,
    COUNT(QPP.QS_ID) DESC;
    I'm considering a blog entry of useful EUL scripts. Anyone interested? Yes - either reply here or drop me a line.
    Best wishes
    Michael

  • How to identify which root certificate is used?

    How to identify which root certificate(on terminal) is used when a terminal is connecting to a https website?
    SecurityInfo.getServerCertificate() only returns the certificate send from the https server.
    But how could know the which local root certificate is used to verify the certificate send from the https server?
    Is there a method or class in MIDP 2.1?
    Thanks

    UP�Cthis question is urgent. Hope anyone can answer me!

Maybe you are looking for

  • Read only OCFS2

    Help! i created 2 disks and shared between 2 servers using OCFS2 Device Boot Start End Blocks Id System /dev/xvdb1 1 98 787153+ 83 Linux /dev/xvdb2 99 196 787185 83 Linux they are both mount as this in /etc/fstab /dev/xvdb1 /ocfs2-1 ocfs2 _netdev,dat

  • My ipad doesn't show on my itunes account why? How do I sync them if it doesn't show?

    I have just bought a new ipad2. Open an account with itunes but when I plug my ipad into pc and go into itunes it doesn't acknowledge a ipad is connected so unable to sync? What am I doing wrong??

  • Netcfg laptop wireless - "DHCP ip lease attempt failed"??

    hey folks. just loaded arch onto a toshiba laptop. in the process of configuring wireless, i followed the netcfg config instructions in the wiki. It worked fine the first time, but when I rebooted every subsequent time i tried to connect I get the "D

  • Why does my laptop not connect with WiFi printer.

    Epson workforce 610   printer does not appear in the system pref printer list. Works fine with Mac Pro.

  • No Audio at main menu page

    Hi, I authored a DVD. All sub menus have audio-background "Revolution-Extras". The main menu page shows as Audio "Revolution-Main" but no sound is played, when playing the DVD and the main menu page is coming up. How can I add the audio to the main m