Why the entry is requried in the hosts file for the SQL connecting even though setting in DNS in Server 2012 R2?Do entries in local 'hosts' files override both forward and reverse name lookups?What can cause a DNS lookup to ignore a hosts file entry?/etc/hosts file setting for no dns lookupHow to have Windows Server DNS use hosts file to resolve specific host namesSince when the linux host utility ignores /etc/hosts?Hijack DNS on my local Ubuntu machine?How can I manually set the IP a domain name resolves to without using the hosts file?Hosts File Failoverhosts file entry for domain pointing to shared hosting accountWindows hostname not resolving to hosts file entry

TGV timetables / schedules?

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

How old can references or sources in a thesis be?

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

Email Account under attack (really) - anything I can do?

Modeling an IP Address

Why don't electron-positron collisions release infinite energy?

Test whether all array elements are factors of a number

Minkowski space

US citizen flying to France today and my passport expires in less than 2 months

Why, historically, did Gödel think CH was false?

What defenses are there against being summoned by the Gate spell?

The use of multiple foreign keys on same column in SQL Server

Can I make popcorn with any corn?

Is it possible to do 50 km distance without any previous training?

can i play a electric guitar through a bass amp?

How to format long polynomial?

What are these boxed doors outside store fronts in New York?

Why is consensus so controversial in Britain?

What would happen to a modern skyscraper if it rains micro blackholes?

Adding span tags within wp_list_pages list items

I'm planning on buying a laser printer but concerned about the life cycle of toner in the machine

Is it legal for company to use my work email to pretend I still work there?

Approximately how much travel time was saved by the opening of the Suez Canal in 1869?



Why the entry is requried in the hosts file for the SQL connecting even though setting in DNS in Server 2012 R2?


Do entries in local 'hosts' files override both forward and reverse name lookups?What can cause a DNS lookup to ignore a hosts file entry?/etc/hosts file setting for no dns lookupHow to have Windows Server DNS use hosts file to resolve specific host namesSince when the linux host utility ignores /etc/hosts?Hijack DNS on my local Ubuntu machine?How can I manually set the IP a domain name resolves to without using the hosts file?Hosts File Failoverhosts file entry for domain pointing to shared hosting accountWindows hostname not resolving to hosts file entry






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















Why the entry with fully qualified name is required in the hosts file for the SQL connecting even though it is set in DNS.
Our LAN:



  1. 2 servers installed Server 2012 R2, they are named as SQL1 and SQL2 and they are in the same domain.

  2. SQL 2016 Standard installed in each server

  3. A separate DNS server in the same LAN

The problem:



SQL2 sever can connect to SQL1 from SSMS, but SQL1 cannot connect to SQL2.
The problem is fixed by adding a entry with IP address and fully qualified name in the hosts file in SQL1 server.



We have a dedicated DNS that has a similar function with hosts in windows. Why SQL uses hosts, instead of DNS, to connect remotley? What would be incorrect configuration that cause this issue? Would this configuration be made in SQL, Windows Server, DNS, Domain or others?










share|improve this question









New contributor




john xing is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0















    Why the entry with fully qualified name is required in the hosts file for the SQL connecting even though it is set in DNS.
    Our LAN:



    1. 2 servers installed Server 2012 R2, they are named as SQL1 and SQL2 and they are in the same domain.

    2. SQL 2016 Standard installed in each server

    3. A separate DNS server in the same LAN

    The problem:



    SQL2 sever can connect to SQL1 from SSMS, but SQL1 cannot connect to SQL2.
    The problem is fixed by adding a entry with IP address and fully qualified name in the hosts file in SQL1 server.



    We have a dedicated DNS that has a similar function with hosts in windows. Why SQL uses hosts, instead of DNS, to connect remotley? What would be incorrect configuration that cause this issue? Would this configuration be made in SQL, Windows Server, DNS, Domain or others?










    share|improve this question









    New contributor




    john xing is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0








      Why the entry with fully qualified name is required in the hosts file for the SQL connecting even though it is set in DNS.
      Our LAN:



      1. 2 servers installed Server 2012 R2, they are named as SQL1 and SQL2 and they are in the same domain.

      2. SQL 2016 Standard installed in each server

      3. A separate DNS server in the same LAN

      The problem:



      SQL2 sever can connect to SQL1 from SSMS, but SQL1 cannot connect to SQL2.
      The problem is fixed by adding a entry with IP address and fully qualified name in the hosts file in SQL1 server.



      We have a dedicated DNS that has a similar function with hosts in windows. Why SQL uses hosts, instead of DNS, to connect remotley? What would be incorrect configuration that cause this issue? Would this configuration be made in SQL, Windows Server, DNS, Domain or others?










      share|improve this question









      New contributor




      john xing is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Why the entry with fully qualified name is required in the hosts file for the SQL connecting even though it is set in DNS.
      Our LAN:



      1. 2 servers installed Server 2012 R2, they are named as SQL1 and SQL2 and they are in the same domain.

      2. SQL 2016 Standard installed in each server

      3. A separate DNS server in the same LAN

      The problem:



      SQL2 sever can connect to SQL1 from SSMS, but SQL1 cannot connect to SQL2.
      The problem is fixed by adding a entry with IP address and fully qualified name in the hosts file in SQL1 server.



      We have a dedicated DNS that has a similar function with hosts in windows. Why SQL uses hosts, instead of DNS, to connect remotley? What would be incorrect configuration that cause this issue? Would this configuration be made in SQL, Windows Server, DNS, Domain or others?







      hosts






      share|improve this question









      New contributor




      john xing is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      john xing is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited Apr 3 at 19:20









      mature

      1316




      1316






      New contributor




      john xing is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked Apr 3 at 14:46









      john xingjohn xing

      1




      1




      New contributor




      john xing is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      john xing is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      john xing is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "2"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          john xing is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f961320%2fwhy-the-entry-is-requried-in-the-hosts-file-for-the-sql-connecting-even-though-s%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          john xing is a new contributor. Be nice, and check out our Code of Conduct.









          draft saved

          draft discarded


















          john xing is a new contributor. Be nice, and check out our Code of Conduct.












          john xing is a new contributor. Be nice, and check out our Code of Conduct.











          john xing is a new contributor. Be nice, and check out our Code of Conduct.














          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f961320%2fwhy-the-entry-is-requried-in-the-hosts-file-for-the-sql-connecting-even-though-s%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

          What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

          Why did Thanos need his ship to help him in the battle scene?Which actor plays Thanos in the Avengers mid-credits scene?Are there economic implications portrayed in comics where the buildings and cities are ruined almost daily?Old X-Men comic where team travels to alien world with a ring-like sun that needs recharging?Why does Ego need help sleeping?Is there an objective answer to who “the strongest Avenger” is?How did Banner get unstuck?Why did Thanos get hit?How did Thanos (or anyone) know the Infinity Stones would give him this power?Did Thanos leave Eitri alive for his after-sales service?In Avengers 1, why does Thanos need Loki?