mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite
1












I'm using UBUNTU 14.04 as virtual machine on Windows using VMWARE ,
after logging I installed nmap but after trying to run



nmap -sP 10.42.0.0


I get the following message



mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers


I'm using




Nmap version 6.40 ( http://nmap.org ) Platform: x86_64-pc-linux-gnu




any hints ?










share|improve this question























  • Please clarify what you mean by "on windows." What DNS servers do you expect to be configured? Include diagnostic output regarding your DNS setup: cat /etc/resolv.conf
    – bonsaiviking
    Aug 25 '15 at 17:30










  • @bonsaiviking sorry i corrected it ... the file doesn't show anything just 2 lines of information and they are commented , i don't know if the problem come from using ubuntu as a virtual machine
    – The Beast
    Aug 25 '15 at 23:44











  • @Frankenstein: Can anything (but itself and the host system) be pinged from your virtual machine by IP?
    – Incnis Mrsi
    Sep 12 '15 at 17:31











  • @IncnisMrsi no i can't ping anything
    – The Beast
    Sep 12 '15 at 20:09










  • @Frankenstein: Then it’s a network connectivity problem, and DNS is irrelevant. Which efforts did you apply to route or bridge your virtual machine to the outside world? By the way, Ī̲ start to think it’s a Windows question.
    – Incnis Mrsi
    Sep 12 '15 at 20:12















up vote
1
down vote

favorite
1












I'm using UBUNTU 14.04 as virtual machine on Windows using VMWARE ,
after logging I installed nmap but after trying to run



nmap -sP 10.42.0.0


I get the following message



mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers


I'm using




Nmap version 6.40 ( http://nmap.org ) Platform: x86_64-pc-linux-gnu




any hints ?










share|improve this question























  • Please clarify what you mean by "on windows." What DNS servers do you expect to be configured? Include diagnostic output regarding your DNS setup: cat /etc/resolv.conf
    – bonsaiviking
    Aug 25 '15 at 17:30










  • @bonsaiviking sorry i corrected it ... the file doesn't show anything just 2 lines of information and they are commented , i don't know if the problem come from using ubuntu as a virtual machine
    – The Beast
    Aug 25 '15 at 23:44











  • @Frankenstein: Can anything (but itself and the host system) be pinged from your virtual machine by IP?
    – Incnis Mrsi
    Sep 12 '15 at 17:31











  • @IncnisMrsi no i can't ping anything
    – The Beast
    Sep 12 '15 at 20:09










  • @Frankenstein: Then it’s a network connectivity problem, and DNS is irrelevant. Which efforts did you apply to route or bridge your virtual machine to the outside world? By the way, Ī̲ start to think it’s a Windows question.
    – Incnis Mrsi
    Sep 12 '15 at 20:12













up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





I'm using UBUNTU 14.04 as virtual machine on Windows using VMWARE ,
after logging I installed nmap but after trying to run



nmap -sP 10.42.0.0


I get the following message



mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers


I'm using




Nmap version 6.40 ( http://nmap.org ) Platform: x86_64-pc-linux-gnu




any hints ?










share|improve this question















I'm using UBUNTU 14.04 as virtual machine on Windows using VMWARE ,
after logging I installed nmap but after trying to run



nmap -sP 10.42.0.0


I get the following message



mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers


I'm using




Nmap version 6.40 ( http://nmap.org ) Platform: x86_64-pc-linux-gnu




any hints ?







dns virtual-machine vmware nmap






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 12 '15 at 22:34









terdon♦

123k28232405




123k28232405










asked Aug 25 '15 at 14:48









The Beast

196210




196210











  • Please clarify what you mean by "on windows." What DNS servers do you expect to be configured? Include diagnostic output regarding your DNS setup: cat /etc/resolv.conf
    – bonsaiviking
    Aug 25 '15 at 17:30










  • @bonsaiviking sorry i corrected it ... the file doesn't show anything just 2 lines of information and they are commented , i don't know if the problem come from using ubuntu as a virtual machine
    – The Beast
    Aug 25 '15 at 23:44











  • @Frankenstein: Can anything (but itself and the host system) be pinged from your virtual machine by IP?
    – Incnis Mrsi
    Sep 12 '15 at 17:31











  • @IncnisMrsi no i can't ping anything
    – The Beast
    Sep 12 '15 at 20:09










  • @Frankenstein: Then it’s a network connectivity problem, and DNS is irrelevant. Which efforts did you apply to route or bridge your virtual machine to the outside world? By the way, Ī̲ start to think it’s a Windows question.
    – Incnis Mrsi
    Sep 12 '15 at 20:12

















  • Please clarify what you mean by "on windows." What DNS servers do you expect to be configured? Include diagnostic output regarding your DNS setup: cat /etc/resolv.conf
    – bonsaiviking
    Aug 25 '15 at 17:30










  • @bonsaiviking sorry i corrected it ... the file doesn't show anything just 2 lines of information and they are commented , i don't know if the problem come from using ubuntu as a virtual machine
    – The Beast
    Aug 25 '15 at 23:44











  • @Frankenstein: Can anything (but itself and the host system) be pinged from your virtual machine by IP?
    – Incnis Mrsi
    Sep 12 '15 at 17:31











  • @IncnisMrsi no i can't ping anything
    – The Beast
    Sep 12 '15 at 20:09










  • @Frankenstein: Then it’s a network connectivity problem, and DNS is irrelevant. Which efforts did you apply to route or bridge your virtual machine to the outside world? By the way, Ī̲ start to think it’s a Windows question.
    – Incnis Mrsi
    Sep 12 '15 at 20:12
















Please clarify what you mean by "on windows." What DNS servers do you expect to be configured? Include diagnostic output regarding your DNS setup: cat /etc/resolv.conf
– bonsaiviking
Aug 25 '15 at 17:30




Please clarify what you mean by "on windows." What DNS servers do you expect to be configured? Include diagnostic output regarding your DNS setup: cat /etc/resolv.conf
– bonsaiviking
Aug 25 '15 at 17:30












@bonsaiviking sorry i corrected it ... the file doesn't show anything just 2 lines of information and they are commented , i don't know if the problem come from using ubuntu as a virtual machine
– The Beast
Aug 25 '15 at 23:44





@bonsaiviking sorry i corrected it ... the file doesn't show anything just 2 lines of information and they are commented , i don't know if the problem come from using ubuntu as a virtual machine
– The Beast
Aug 25 '15 at 23:44













@Frankenstein: Can anything (but itself and the host system) be pinged from your virtual machine by IP?
– Incnis Mrsi
Sep 12 '15 at 17:31





@Frankenstein: Can anything (but itself and the host system) be pinged from your virtual machine by IP?
– Incnis Mrsi
Sep 12 '15 at 17:31













@IncnisMrsi no i can't ping anything
– The Beast
Sep 12 '15 at 20:09




@IncnisMrsi no i can't ping anything
– The Beast
Sep 12 '15 at 20:09












@Frankenstein: Then it’s a network connectivity problem, and DNS is irrelevant. Which efforts did you apply to route or bridge your virtual machine to the outside world? By the way, Ī̲ start to think it’s a Windows question.
– Incnis Mrsi
Sep 12 '15 at 20:12





@Frankenstein: Then it’s a network connectivity problem, and DNS is irrelevant. Which efforts did you apply to route or bridge your virtual machine to the outside world? By the way, Ī̲ start to think it’s a Windows question.
– Incnis Mrsi
Sep 12 '15 at 20:12











1 Answer
1






active

oldest

votes

















up vote
0
down vote













I'm assuming that you are specifying the host with a ip address (eg, x.x.x.x)



It seems that the system you're running it from doesn't have a normal DNS file, /etc/resolv.conf.

So, You can create a default nameserver with any IP (e.g. 6.7.8.9) using following command:



# echo "nameserver 6.7.8.9" >> /etc/resolv.conf


This will set up a default nameserver.



Alternately you can specify it on nmap command without touching the system's configuration.



# nmap --dns-servers 6.7.8.9 x.x.x.x





share|improve this answer






















    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',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    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%2f225394%2fmass-dns-warning-unable-to-determine-any-dns-servers-reverse-dns-is-disabled%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    I'm assuming that you are specifying the host with a ip address (eg, x.x.x.x)



    It seems that the system you're running it from doesn't have a normal DNS file, /etc/resolv.conf.

    So, You can create a default nameserver with any IP (e.g. 6.7.8.9) using following command:



    # echo "nameserver 6.7.8.9" >> /etc/resolv.conf


    This will set up a default nameserver.



    Alternately you can specify it on nmap command without touching the system's configuration.



    # nmap --dns-servers 6.7.8.9 x.x.x.x





    share|improve this answer


























      up vote
      0
      down vote













      I'm assuming that you are specifying the host with a ip address (eg, x.x.x.x)



      It seems that the system you're running it from doesn't have a normal DNS file, /etc/resolv.conf.

      So, You can create a default nameserver with any IP (e.g. 6.7.8.9) using following command:



      # echo "nameserver 6.7.8.9" >> /etc/resolv.conf


      This will set up a default nameserver.



      Alternately you can specify it on nmap command without touching the system's configuration.



      # nmap --dns-servers 6.7.8.9 x.x.x.x





      share|improve this answer
























        up vote
        0
        down vote










        up vote
        0
        down vote









        I'm assuming that you are specifying the host with a ip address (eg, x.x.x.x)



        It seems that the system you're running it from doesn't have a normal DNS file, /etc/resolv.conf.

        So, You can create a default nameserver with any IP (e.g. 6.7.8.9) using following command:



        # echo "nameserver 6.7.8.9" >> /etc/resolv.conf


        This will set up a default nameserver.



        Alternately you can specify it on nmap command without touching the system's configuration.



        # nmap --dns-servers 6.7.8.9 x.x.x.x





        share|improve this answer














        I'm assuming that you are specifying the host with a ip address (eg, x.x.x.x)



        It seems that the system you're running it from doesn't have a normal DNS file, /etc/resolv.conf.

        So, You can create a default nameserver with any IP (e.g. 6.7.8.9) using following command:



        # echo "nameserver 6.7.8.9" >> /etc/resolv.conf


        This will set up a default nameserver.



        Alternately you can specify it on nmap command without touching the system's configuration.



        # nmap --dns-servers 6.7.8.9 x.x.x.x






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 1 '17 at 8:18









        Thomas

        3,62141124




        3,62141124










        answered Nov 1 '17 at 7:34









        AJAY

        1




        1



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f225394%2fmass-dns-warning-unable-to-determine-any-dns-servers-reverse-dns-is-disabled%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay