Nslookup cannot find name servers without wwwDetermining Domain Base Name from Nslookup Resultsdig / nslookup cannot resolve, but ping can

Can Medicine checks be used, with decent rolls, to completely mitigate the risk of death from ongoing damage?

Should I join an office cleaning event for free?

What is the offset in a seaplane's hull?

Shell script can be run only with sh command

Draw simple lines in Inkscape

Can I make popcorn with any corn?

How old can references or sources in a thesis be?

New order #4: World

Why is "Reports" in sentence down without "The"

Is there a minimum number of transactions in a block?

Showing the closure of a compact subset need not be compact

Concept of linear mappings are confusing me

How is it possible for user's password to be changed after storage was encrypted? (on OS X, Android)

Finding files for which a command fails

least quadratic residue under GRH: an EXPLICIT bound

Why is an old chain unsafe?

Patience, young "Padovan"

Download, install and reboot computer at night if needed

Why are 150k or 200k jobs considered good when there are 300k+ births a month?

Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?

Is there a familial term for apples and pears?

Why Is Death Allowed In the Matrix?

Modification to Chariots for Heavy Cavalry Analogue for 4-armed race

Is it possible to make sharp wind that can cut stuff from afar?



Nslookup cannot find name servers without www


Determining Domain Base Name from Nslookup Resultsdig / nslookup cannot resolve, but ping can






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Our site is responding to nslookup if it is fully written.



nslookup www.example.com - it responds and shows name servers.



But if we write without www,
like nslookup example.com - it cannot find name servers.



What may be the problem?



I have these records:



@ IN NS ns1.example.com. 
localhost.example.com. IN A 127.0.0.1
ns1.example.com. IN A ip_add_of_www


What else should I add?










share|improve this question






























    0















    Our site is responding to nslookup if it is fully written.



    nslookup www.example.com - it responds and shows name servers.



    But if we write without www,
    like nslookup example.com - it cannot find name servers.



    What may be the problem?



    I have these records:



    @ IN NS ns1.example.com. 
    localhost.example.com. IN A 127.0.0.1
    ns1.example.com. IN A ip_add_of_www


    What else should I add?










    share|improve this question


























      0












      0








      0








      Our site is responding to nslookup if it is fully written.



      nslookup www.example.com - it responds and shows name servers.



      But if we write without www,
      like nslookup example.com - it cannot find name servers.



      What may be the problem?



      I have these records:



      @ IN NS ns1.example.com. 
      localhost.example.com. IN A 127.0.0.1
      ns1.example.com. IN A ip_add_of_www


      What else should I add?










      share|improve this question
















      Our site is responding to nslookup if it is fully written.



      nslookup www.example.com - it responds and shows name servers.



      But if we write without www,
      like nslookup example.com - it cannot find name servers.



      What may be the problem?



      I have these records:



      @ IN NS ns1.example.com. 
      localhost.example.com. IN A 127.0.0.1
      ns1.example.com. IN A ip_add_of_www


      What else should I add?







      nslookup






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 days ago









      JdeBP

      37.8k478182




      37.8k478182










      asked 2 days ago









      it devit dev

      464




      464




















          1 Answer
          1






          active

          oldest

          votes


















          2














          DNS is similar to a database of names.



          If you do not put there a record, it won't answer to it when being consulted /read.



          So, if you have not created two A records, and only created www.example.com, it will only give an address to www.example.com



          As CNAMEs pointing to a domain are not allowed per DNS rfcs/"papers", you have to define not an alias, but an address.



          Using bind syntax, where @ is shorthand for your domain:



          @ IN A 192.0.2.1


          Where 192.0.2.0 is the same address of the A RR attributed to www.



          As in:



          $TTL 86400
          @ IN SOA startech60serve root.startech60serve.com (
          2018110201 ;Serial
          3600 ;Refresh
          1800 ;Retry
          604800 ;Expire
          86400 ;Minimum TTL
          )

          IN NS x.x.x.x

          www IN A 192.0.2.1
          @ IN A 192.0.2.1


          After changing, you need to restart increase the serial.



          After increasing, you either restart the service or do a



          rndc reload





          share|improve this answer

























          • I have these records: @ IN NS ns1.example.com. , localhost.example.com. IN A 127.0.0.1, ns1.example.com. IN A ip_add_of_www What else should I add? Nslookup responds only to www.example.com

            – it dev
            2 days ago











          • Add it before or after that IN A,. I prefer it before.

            – Rui F Ribeiro
            2 days ago











          • can you write fully please? What line should I add?

            – it dev
            2 days ago






          • 1





            The line is in the answer. I cannot add your data as mobile /phone bound for now

            – Rui F Ribeiro
            2 days ago






          • 3





            Now that Cloudflare is running an active (and reasonably popular) DNS server on 1.1.1.1, using that as a random IP in examples is risky. Better use something from 192.0.2.0/24, 198.51.100.0/24 or 203.0.113.0/24 (IP ranges reserved for examples and documentation).

            – muru
            2 days ago











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f510645%2fnslookup-cannot-find-name-servers-without-www%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          DNS is similar to a database of names.



          If you do not put there a record, it won't answer to it when being consulted /read.



          So, if you have not created two A records, and only created www.example.com, it will only give an address to www.example.com



          As CNAMEs pointing to a domain are not allowed per DNS rfcs/"papers", you have to define not an alias, but an address.



          Using bind syntax, where @ is shorthand for your domain:



          @ IN A 192.0.2.1


          Where 192.0.2.0 is the same address of the A RR attributed to www.



          As in:



          $TTL 86400
          @ IN SOA startech60serve root.startech60serve.com (
          2018110201 ;Serial
          3600 ;Refresh
          1800 ;Retry
          604800 ;Expire
          86400 ;Minimum TTL
          )

          IN NS x.x.x.x

          www IN A 192.0.2.1
          @ IN A 192.0.2.1


          After changing, you need to restart increase the serial.



          After increasing, you either restart the service or do a



          rndc reload





          share|improve this answer

























          • I have these records: @ IN NS ns1.example.com. , localhost.example.com. IN A 127.0.0.1, ns1.example.com. IN A ip_add_of_www What else should I add? Nslookup responds only to www.example.com

            – it dev
            2 days ago











          • Add it before or after that IN A,. I prefer it before.

            – Rui F Ribeiro
            2 days ago











          • can you write fully please? What line should I add?

            – it dev
            2 days ago






          • 1





            The line is in the answer. I cannot add your data as mobile /phone bound for now

            – Rui F Ribeiro
            2 days ago






          • 3





            Now that Cloudflare is running an active (and reasonably popular) DNS server on 1.1.1.1, using that as a random IP in examples is risky. Better use something from 192.0.2.0/24, 198.51.100.0/24 or 203.0.113.0/24 (IP ranges reserved for examples and documentation).

            – muru
            2 days ago















          2














          DNS is similar to a database of names.



          If you do not put there a record, it won't answer to it when being consulted /read.



          So, if you have not created two A records, and only created www.example.com, it will only give an address to www.example.com



          As CNAMEs pointing to a domain are not allowed per DNS rfcs/"papers", you have to define not an alias, but an address.



          Using bind syntax, where @ is shorthand for your domain:



          @ IN A 192.0.2.1


          Where 192.0.2.0 is the same address of the A RR attributed to www.



          As in:



          $TTL 86400
          @ IN SOA startech60serve root.startech60serve.com (
          2018110201 ;Serial
          3600 ;Refresh
          1800 ;Retry
          604800 ;Expire
          86400 ;Minimum TTL
          )

          IN NS x.x.x.x

          www IN A 192.0.2.1
          @ IN A 192.0.2.1


          After changing, you need to restart increase the serial.



          After increasing, you either restart the service or do a



          rndc reload





          share|improve this answer

























          • I have these records: @ IN NS ns1.example.com. , localhost.example.com. IN A 127.0.0.1, ns1.example.com. IN A ip_add_of_www What else should I add? Nslookup responds only to www.example.com

            – it dev
            2 days ago











          • Add it before or after that IN A,. I prefer it before.

            – Rui F Ribeiro
            2 days ago











          • can you write fully please? What line should I add?

            – it dev
            2 days ago






          • 1





            The line is in the answer. I cannot add your data as mobile /phone bound for now

            – Rui F Ribeiro
            2 days ago






          • 3





            Now that Cloudflare is running an active (and reasonably popular) DNS server on 1.1.1.1, using that as a random IP in examples is risky. Better use something from 192.0.2.0/24, 198.51.100.0/24 or 203.0.113.0/24 (IP ranges reserved for examples and documentation).

            – muru
            2 days ago













          2












          2








          2







          DNS is similar to a database of names.



          If you do not put there a record, it won't answer to it when being consulted /read.



          So, if you have not created two A records, and only created www.example.com, it will only give an address to www.example.com



          As CNAMEs pointing to a domain are not allowed per DNS rfcs/"papers", you have to define not an alias, but an address.



          Using bind syntax, where @ is shorthand for your domain:



          @ IN A 192.0.2.1


          Where 192.0.2.0 is the same address of the A RR attributed to www.



          As in:



          $TTL 86400
          @ IN SOA startech60serve root.startech60serve.com (
          2018110201 ;Serial
          3600 ;Refresh
          1800 ;Retry
          604800 ;Expire
          86400 ;Minimum TTL
          )

          IN NS x.x.x.x

          www IN A 192.0.2.1
          @ IN A 192.0.2.1


          After changing, you need to restart increase the serial.



          After increasing, you either restart the service or do a



          rndc reload





          share|improve this answer















          DNS is similar to a database of names.



          If you do not put there a record, it won't answer to it when being consulted /read.



          So, if you have not created two A records, and only created www.example.com, it will only give an address to www.example.com



          As CNAMEs pointing to a domain are not allowed per DNS rfcs/"papers", you have to define not an alias, but an address.



          Using bind syntax, where @ is shorthand for your domain:



          @ IN A 192.0.2.1


          Where 192.0.2.0 is the same address of the A RR attributed to www.



          As in:



          $TTL 86400
          @ IN SOA startech60serve root.startech60serve.com (
          2018110201 ;Serial
          3600 ;Refresh
          1800 ;Retry
          604800 ;Expire
          86400 ;Minimum TTL
          )

          IN NS x.x.x.x

          www IN A 192.0.2.1
          @ IN A 192.0.2.1


          After changing, you need to restart increase the serial.



          After increasing, you either restart the service or do a



          rndc reload






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 2 days ago

























          answered 2 days ago









          Rui F RibeiroRui F Ribeiro

          42k1483142




          42k1483142












          • I have these records: @ IN NS ns1.example.com. , localhost.example.com. IN A 127.0.0.1, ns1.example.com. IN A ip_add_of_www What else should I add? Nslookup responds only to www.example.com

            – it dev
            2 days ago











          • Add it before or after that IN A,. I prefer it before.

            – Rui F Ribeiro
            2 days ago











          • can you write fully please? What line should I add?

            – it dev
            2 days ago






          • 1





            The line is in the answer. I cannot add your data as mobile /phone bound for now

            – Rui F Ribeiro
            2 days ago






          • 3





            Now that Cloudflare is running an active (and reasonably popular) DNS server on 1.1.1.1, using that as a random IP in examples is risky. Better use something from 192.0.2.0/24, 198.51.100.0/24 or 203.0.113.0/24 (IP ranges reserved for examples and documentation).

            – muru
            2 days ago

















          • I have these records: @ IN NS ns1.example.com. , localhost.example.com. IN A 127.0.0.1, ns1.example.com. IN A ip_add_of_www What else should I add? Nslookup responds only to www.example.com

            – it dev
            2 days ago











          • Add it before or after that IN A,. I prefer it before.

            – Rui F Ribeiro
            2 days ago











          • can you write fully please? What line should I add?

            – it dev
            2 days ago






          • 1





            The line is in the answer. I cannot add your data as mobile /phone bound for now

            – Rui F Ribeiro
            2 days ago






          • 3





            Now that Cloudflare is running an active (and reasonably popular) DNS server on 1.1.1.1, using that as a random IP in examples is risky. Better use something from 192.0.2.0/24, 198.51.100.0/24 or 203.0.113.0/24 (IP ranges reserved for examples and documentation).

            – muru
            2 days ago
















          I have these records: @ IN NS ns1.example.com. , localhost.example.com. IN A 127.0.0.1, ns1.example.com. IN A ip_add_of_www What else should I add? Nslookup responds only to www.example.com

          – it dev
          2 days ago





          I have these records: @ IN NS ns1.example.com. , localhost.example.com. IN A 127.0.0.1, ns1.example.com. IN A ip_add_of_www What else should I add? Nslookup responds only to www.example.com

          – it dev
          2 days ago













          Add it before or after that IN A,. I prefer it before.

          – Rui F Ribeiro
          2 days ago





          Add it before or after that IN A,. I prefer it before.

          – Rui F Ribeiro
          2 days ago













          can you write fully please? What line should I add?

          – it dev
          2 days ago





          can you write fully please? What line should I add?

          – it dev
          2 days ago




          1




          1





          The line is in the answer. I cannot add your data as mobile /phone bound for now

          – Rui F Ribeiro
          2 days ago





          The line is in the answer. I cannot add your data as mobile /phone bound for now

          – Rui F Ribeiro
          2 days ago




          3




          3





          Now that Cloudflare is running an active (and reasonably popular) DNS server on 1.1.1.1, using that as a random IP in examples is risky. Better use something from 192.0.2.0/24, 198.51.100.0/24 or 203.0.113.0/24 (IP ranges reserved for examples and documentation).

          – muru
          2 days ago





          Now that Cloudflare is running an active (and reasonably popular) DNS server on 1.1.1.1, using that as a random IP in examples is risky. Better use something from 192.0.2.0/24, 198.51.100.0/24 or 203.0.113.0/24 (IP ranges reserved for examples and documentation).

          – muru
          2 days ago

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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%2funix.stackexchange.com%2fquestions%2f510645%2fnslookup-cannot-find-name-servers-without-www%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

          getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

          Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

          Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.