Add search in /etc/resolv.conf

Hi all

I understand /etc/resolv.conf gets crushed whenever the system reboots. Where can I configure search for mondomaine.fr so that it gets added to the /etc/resolv.conf automatically?

Thanks in advance

Christian

I found the problem:

In the configuration of the interface, I had 2 DNS entries separated by a comma. This syntax is incorrect, it should have been two different lines with an address each. Due to this error, the file has not been read in its entirety and the search line in /etc/resolv.conf never put.

Thank you

Christian

Tags: VMware

Similar Questions

  • How to display /etc/resolv.conf and other files from the remote host to the vMA host ESX4i

    Hi all;

    I'm new at VMAs, I put it in place and adds 5 Server esxi 4 and I can list the fines using vifp lists broadcast and works, very well but my problem is I want to interrogate the remote servers for this vMA host for example I need to check the contents of these files

    cat /etc/resolv.conf

    cat/etc/sysconfig/clock

    tail/var/log/vmkernel

    Discovered the following

    esxcfg-firewall - q and esxcfg-vswif - l

    Can someone please help me on how to run these commands or another way on how to get this information above hosts and ESXi 4. I checked the forum, but I don't see anything similair nature! now, either I'm stupid full because it's as simple as drinking water and so no one asked or I am just lucky to ask the right question, so be it, I appreciate your time and effort

    Thanks in advance

    Esxlinux

    So its worth your time through the vMA documentation to understand how to manage your hosts and it's main use case. The operations that you are trying to accomplish cannot be done using vMA... at least in the way that you are hoping for.

    See my vMA article and some of the getting started guides.

    cat /etc/resolv.conf

    You will want to use esxcfg-dns to list the configured DNS servers

    cat/etc/sysconfig/clock

    This file does not yet exist on ESXi, if you try to set the time on ESXi host, you should use NTP and it is also important to note that single ESXi uses UTC and no other options are available.

    tail/var/log/vmkernel

    If you need to display the host logs, consider using vi logger on vMA OR configure syslog on your host to send to the centralized syslog server

    Regarding the last two commands, they do not apply to an ESXi host and therefore these commands are not available.

    There are certainly differences between ESX and ESXi, understand the differences and orders to ask for certain pieces of information is very important. vMA can help with this, but you must understand the use case of vMA and what tools are at your disposal. The best way to start is to take a look at the documentation, to jump it and try to jump in, will just be confusing.

    Good luck

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • Search bar does not work. Cannot add search engines.

    Search bar does not work. Cannot add search engines.


  • How can I change my computors address... for example: he continues to show my position as Herndon, goes on my local search, weather etc:... IM in Florida

    How can I change my address for the computer... for example: he continues to show my position as Herndon, goes on my local search, weather etc: when my real location is in Orange City, Florida. It started quite recently (in the month) I thank you for your help!

    Where this web page says that you stand?

    http://whatismyipaddress.com/

  • Unable to add search engines?

    My search bar has never worked. Not when I had 3 of Firefox... and no, not now. I had to add a toolbar, in order to be able to search. It's been very wide Firefox and ugly looking. I didn't like it and so I don't want to add again, now that I've got Firefox 4. Help, please!
    I'll add search engines, but they do not appear when I add them. Why is this?

    First of all, to use a profile for Firefox 4.0b7 and keep your profile current for Firefox 3.6. It will solve your problem of ugly look and search engine for Firefox 4.0b7.

    For your problem of search engine to point 3.6, close Firefox, rename the file folder and search.sqlite in your default profile foldersearchplugins, then restart Firefox.

  • Add search filters are grayed out in WIndows 7

    Add search filters are grayed out in WIndows 7. I need to add more search filters, but can not add more search filters.

    I guess that you are referring to the search box in Windows Explorer.

    The entry "Add a search filter" is not active.  It's just a Cape for the pre-defined search filters shown below.

    To verify that you can see any of the predefined search, filters, drag the left edge of the search box of Windows Explorer to the left & it will expand.

    If you are in a library folder if poster more pre-defined search filters than the two that appear if you are in, for example, a folder in C:Users\yourusername\Documents\...

  • My Windows Vista Mail contact list is missing its toolbar to add groups, contacts, etc... I can not find anywhere...

    When I opened contacts I simply get a good view of my contacts folders.  There is no toolbar to add groups, etc.  The standard toolbar is here with file, edition, etc... not as well as toolbar folder view Options, organize, etc... but no toolbar to manage contacts.  I can not find in anywhere.  Help, please.

    Missing the Windows Contacts toolbar buttons
    http://www.vista4beginners.com/missing-buttons-from-Windows-contacts-toolbar

    Vista - "New Contact" and "Contact Group on new" button missing
    http://www.Vistax64.com/tutorials/186477-new-contact-new-contact-group-button-missing.html

    Bruce Hagen MS - MVP [Mail]

  • Add search criteria to the customer Search Page

    Hi all

    I have a requirement to add additioinal search criteria to the customer search page. Order Management Super User-> client-> Standard

    / Oracle/Apps/AR/cusstd/srch/WebUI/ArPrtySrchPG


    I want to add number of Site Search additiional. I tried to add a lookup field using customization, but the addition of the field does not appear on the screen. I tried to find out how the where clause is implemented through the related CO I found that the search fields are implemented using a matching HZ_ORG_SIMPLE_SEARCH_RULE rule.


    Is it possible to add the additional field matching this rule? Otherwise how can I advance to this requirement? Please suggest



    Thank you

    Pravin

    Found the solution...  Adding that it might be useful for others...

    Steps to follow:

    1. create the custom match rule by copying standard.

    2. add additional fields to the matching rule and specify a transform.

    3 compile the custom matching rule

    Finally, update the profile option to point to the custom matching rule. In my case it was HZ: associate the rule for the Simple and HZ research organization: associate the rule of advanced search for organisation

    Thank you

    Pravin

  • Is it possible to add "Search," blogs?

    Hello

    I'm new to BC.

    I want to add the option "Search" in my blog. I don't see no tag available for her blog.

    I guess I could use the module of site of 'Research' in British Colombia. But I want to limit my search to the blog only. Possible?

    Thank you!

    Thanks for the detailed answer! It's too complicated for me to understand at first glance but I'll definitely spend some time to understand. This will prove very useful for many other problems that I can deal with later.

    For my problem, I found a simple solution today. In the 'Site Search' module, I created a new entry and set its Type to 'search' to 'Blogs' only. I then used this module as a basis for my blog search form. That's all.

    Thanks again!

  • Add search form JSPX model

    I need to add the simple HTML form to my model JSPX, I tried several ways and have no chance

    < do action = "http://www.search.cio.ny.gov/search" method = "get" >
    < Input value = "date: D:L:d1" name = "sort" type = "hidden" / >
    < h:input value = "xml_no_dtd" name = "output" type = "hidden" / >
    < Input value = 'UTF-8' name = 'ie' type = "hidden" / >
    < Input value = "UTF-8" name = "oe" type = "hidden" / >
    < Input value = "default_frontend" name = "customer".
    Type = "hidden" / >
    < Input value = "default_frontend" name = "proxystylesheet.
    Type = "hidden" / >
    < Input value = "default_collection" name = 'site '.
    Type = "hidden" / >
    < Input style = "" cursor: pointer; "type ="text"size ="15""
    name = "q" maxlength = "256" id = "searchbox".
    title = "Search" / >
    < input type = "submit" id = "search".
    value = "search NY.GOV" / >
    < / make >

    Can someone show a newb how? or tell me a Tutorail or Documentation?

    Hello.

    Here you have a sample application in JDev 11.1.1.6 based on JavaScript events: https://dl.dropbox.com/u/46128268/OTN-Samples/Application4.rar

    I listen to essentially all inputText key events and update a JavaScript variable with the value.

    I hope this help you.

    Kind regards.

  • How can I add search

    How can I add keywords to muse, to Google, Bing, Yahoo and so on. While people may find my company when searching?

    Hello

    You can use commas for the same thing.

    See you soon

    Parikshit

  • Can I connect my new MacBook Pro on my iMac to add contacts, calendar, etc. on my new camera?

    My new MacBook Pro is must happen Wednesday.  Can I plug it into my iMac for contacts, the calendar, the etc added to the device again?

    Follow the instructions here > move your content to a new Mac - Apple Support

  • get rid of all the adds, search machine of default on the current version of firefox (31.0)

    I had to clean my pc due to an adware problem when I tried to download Chrome. I opened the current version of firefox and a display appeared "congratulations you have the latest version of Firefox. Download a new version. "I downloaded the new version. Because the download, I constantly receive unwanted adds and when I open Firefox, a default 'iStart123' research unit is charged even if I have my mail browser configured to be displayed when Firefox is opened. Now, how can I get rid of this "new version" of Firefox and how do I get rid of this 'iStart123' and all that those of unwanted adds?

    Thanks for a quick reply. This "new version" of Firefox is about to drive me up a wall.

    Chuck

    See this - http://malwaretips.com/blogs/remove-istart123-virus/

  • My address bar use the Bing search engine to resolve invalid addresses. I like to use Google, but I can't find any way to change that. Can you help me?

    Thank you

    Hi TomCougar,

    Change the search provider keyword for the address bar is actually pretty easy. Take a look at the article in the Knowledge Base Search the web from the address bar. It will give you all the information you need for her to go back to Google.

    Hope this helps!

  • I lost the bar tools firefox, edit, view, history, tools, search, back, etc. before. How to restore?

    I was just offshore of toobars unchecking simply, alexa, google, yahoo, ask, etc., went to the toolbar firefox far, lost, back, forward, edit, tools, view, history, any toolbar. Can not recover!

    This has happened

    Each time Firefox opened

    I was just offshore of toobars unchecking simply, alexa, google, yahoo, ask, etc., went to the toolbar firefox far, lost, back, forward, edit, tools, view, history, any toolbar. Cannot retrieve @!

    User Agent

    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152 .NET CLR 3.5.30729;. Alexa toolbar)

    You can hide the menu bar in Firefox 3.6 on Windows, on "view > toolbars" or via the contextual right click menu on a toolbar.
    Press in and hold the Alt key to display the menu bar.
    Go to "view > toolbars", right click on the menu bar, or press Alt + V T to select the toolbars to show or hide.

    See also what happened to the file, edit and view menus?

Maybe you are looking for