Work around windows automatically appending DNS suffix

74

What you will need to do is configure the search domain for the Windows PC.

You haven't given details on which version of Windows you're running, but for Windows 7 (shamelessly stolen from this SuperUser answer):

  • Go to Control Panel → Network and Internet → Network and Sharing Center.
  • Click on Change Adapter Settings on the left side.
  • Right-click on your network adapter (normally "Local Area Connection") and select Properties.
  • Select Internet Protocol version 4 (TCP/IPv4) and click on the Properties button.
  • On the General tab, click on the Advanced… button.
  • In the Append this DNS suffixes list, add the domains you want, like google.com.
Share:
74

Related videos on Youtube

Sayed Muhammad Talha
Author by

Sayed Muhammad Talha

Updated on September 18, 2022

Comments

  • Sayed Muhammad Talha
    Sayed Muhammad Talha almost 2 years

    I have an YouTube iframe in React application. On mousemove event, I want to make a component appear and make it disappear when there is no mouse movement. I have figured it out for the document but when the mouse enters the YouTube iframe specifically, it doesn't work any more.

    The solution of setting "pointer-events: none" in CSS doesn't work for me since it disables YouTube features which basically works on the pointer-events. I have also tried setting event listeners on the iframe itself using "iframe.contentWindow.document", which also didn't work.

    • Reaces
      Reaces about 9 years
      Do you actually want it to look up mithrandir without anything or mitrandir.mydomain.com ?
    • Cameron Ball
      Cameron Ball about 9 years
      Ideally just mithrandir, but mithrandir.argonath.mydomain.com would work too.
  • Cameron Ball
    Cameron Ball about 9 years
    I was hoping to avoid having to do that. On Linux if there are no search domains specified, it simply queries what you ask it to. Is there any reason Windows doesn't work the same?