RE: [GD-Windows] DNS server temporary change
Brought to you by:
vexxed72
From: Diogo de A. <Dio...@ne...> - 2004-04-06 12:05:05
|
I agree with that attitude (and have done so in the past)... Getting the job done is the most important thing... how you get there is (more often than not) not important... I was just wondering, since nslookup comes with Windows, if the source code is available, or if it just uses something in the platform SDK that might come in handy in this case... if I can't find it, I will use it (although it sucks having to code some way to get stuff out of standard output - redirect the stream from my code, maybe?) Thanks! Diogo de Andrade dio...@sp... -----Original Message----- From: gam...@li... [mailto:gam...@li...] On Behalf Of Dr Andrew Perella Sent: ter=E7a-feira, 6 de Abril de 2004 12:36 To: gam...@li... Subject: RE: [GD-Windows] DNS server temporary change I don't know how easy it is to do this from c++ - however one of the best things I have learned over the last few years is that not everything needs to be "elegant". If nslookup works - I sugest you just use it. It may feel dirty, but you will get more work done with this attitude! I have wasted a lot of time in the past trying to make things "perfect", when often a simple solution will do just as well. It is important to remark that the code must still be easily maintainable however. Regards, Andrew > -----Original Message----- > From: gam...@li... > [mailto:gam...@li...]On Behalf Of > Diogo de Andrade > Sent: 06 April 2004 11:11 > To: gam...@li... > Subject: [GD-Windows] DNS server temporary change > > > Hey all! > > I have an application running on a computer with some DNS settings... > The problem is, sometimes I need to resolve an name to an IP address, > and I can only do that through another DNS server... My question is, is > it possible to do so in C++? Or will I have to use the command line > "nslookup" and parse the result? Or the only way is to implement a > complete DNS client? > > Thanks in advance > > Diogo de Andrade > dio...@sp... > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > = administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=3D555 > > _____________________________________________________________________ > This e-mail is confidential and may be privileged. It may be > read, copied and used only by the intended recipient. No > communication sent by e-mail to or from Eutechnyx is intended to > give rise to contractual or other legal liability, apart from > liability which cannot be excluded under English law. > > This message has been checked for all known viruses by Star > Internet delivered through the MessageLabs Virus Control Centre. > > www.eutechnyx.com Eutechnyx Limited. Registered in England No: 2172322 _____________________________________________________________________ This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. No communication sent by e-mail to or from Eutechnyx is intended to give rise to contractual or other legal liability, apart from liability which cannot be excluded under English law.=20 This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre.=20 www.eutechnyx.com Eutechnyx Limited. Registered in England No: 2172322 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=3D555 |