Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 468379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:40:33+00:00 2026-05-12T23:40:33+00:00

nslookup.exe www.google.com 127.0.0.1 This command can resolve using DNS server 127.0.0.1, it’s impossible to

  • 0

nslookup.exe http://www.google.com 127.0.0.1

This command can resolve using DNS server 127.0.0.1, it’s impossible to implement a full stack DNS protocol resolver in a 75.0 KB nslookup.exe, so it must have been using dnsapi.dll.

So which dll export C function can provide similar gethostbyname() with a specified DNS server in dnsapi.dll?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T23:40:34+00:00Added an answer on May 12, 2026 at 11:40 pm

    You can use the pExtra parameter to the DNSQuery function.

    Apparently the MSDN documentation is incomplete, since it says this parameter must be null.

    See http://support.microsoft.com/kb/831226 for an example of its use.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If you type nslookup -type=SRV _xmpp-server._tcp.gmail.com (or use the dig command in OSX) you
I need to resolve a hostname using a specific DNS server like you would
i can trying to use GetAddrInfo to resolve ipv6.google.com : wsaError = getaddrinfo(ipv6.google.com, null,
I need to complete this job in Batch. I use NSLOOKUP command to find
In my rails app i do a nslookup using a ruby library resolv .
I am having DNS issues with a certain target domain. I am using fopen()
I'm writing a shell script that makes sure my DNS server is looking. Here's
I am building a VPN application where I need to set DNS server programmatically.
I am using a csv file to nslookup each domain in the first column
I configure a ssh command key like (in a remote mashine M1): command=/usr/bin/nslookup,no-port-forwarding,no-X11-forwarding,no-agent-forwarding ssh-dss

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.