RE: DNS server temporary change
"Diogo de Andrade" <[email protected]>
| Newsgroups | gmane.games.devel.windows |
|---|---|
| Message-ID | <001b01c41bcf$5dd44870$5d02f80a@azkaban> |
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 [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dr Andrew Perella Sent: terça-feira, 6 de Abril de 2004 12:36 To: [email protected] 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: [email protected] > [mailto:[email protected]]On Behalf Of > Diogo de Andrade > Sent: 06 April 2004 11:11 > To: [email protected] > 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 > [email protected] > > > > > > > ------------------------------------------------------- > 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=1470&alloc_id=3638&op=click > _______________________________________________ > Gamedevlists-windows mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > > _____________________________________________________________________ > 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. 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 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=1470&alloc_id=3638&op=click _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555 ------------------------------------------------------- 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_id70&alloc_id638&op=click _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU5