Re: Easiest way to perform DNS query?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Microsoft Towel Boy (mstowel_at_boy.towel.spam)
Date: 07/08/04


Date: Thu, 08 Jul 2004 05:30:14 GMT

Adam Clauss wrote:

> I need run a DNS query that retrieves all TXT records for a given hostname. The Dns class seems unable to do anything other than
> actually RESOLVE a hostname. What alternatives are there?
>
> Thanks!
>

You could use a WebRequest from www.hexillion.com and parse the results...



Relevant Pages

  • 10.1 - resolving hostnames slow for the first time
    ... I have encountered a very strange problem with 10.1 on my laptop. ... 30s or something like this when estabilishing SSH connection etc. ... Sometimes it even takes so long to resolve something, ... the hostname, then the result gets cached and the hostname is resolved ...
    (alt.os.linux.suse)
  • Re: Re.: Modem Problem.
    ... hostname into /etc/hosts. ... starting when the systems tries to boot. ... If your system can not resolve the FULL hostname from the /etc/hosts file, ... The nameserver has to be reachable NOW ...
    (comp.os.linux.misc)
  • RE: bin/22595: telnetd tricked into using arbitrary peer ip (was: telnetd suckage)
    ... >>> Speaking of telnetd sucking, did anyone ever get around to fixing ... It's also great for your logs... ... resolve hostname -> IP2 ...
    (FreeBSD-Security)
  • Re: Delayed booting problem on F7
    ... It talked about applying iptables but had "never matched protocal" and when it finally came up Thunderbird was broken. ... start by establishing what your hostname is: ... Even if it the hostname is pingable now, I think it would not have been pingable at the time when Karl had the initial problem. ... I'll put down some further possibilities that may have led to this issue {that seemed to resolve itself}. ...
    (Fedora)
  • Re: Delayed booting problem on F7
    ... It talked about applying iptables but had "never matched protocal" and when it finally came up Thunderbird was broken. ... start by establishing what your hostname is: ... Then make sure that hostname can be resolved, either by the hosts file or DNS: ... I'll put down some further possibilities that may have led to this issue {that seemed to resolve itself}. ...
    (Fedora)