help with DNS implimitation

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



hello,
i try to make my own DNS "server". i'm working on a local network (not
connected to the internet) kind of intranet.

i have one computer that runs mfc application that uses the function
getipbyname (windows os function) and shows the ip from a given name.
something very simple.
i defined the dns and the default gateway of this computer to be the
secound computer ip (where i run a kind of dns "server").

at the other computer, i get a dns query with that name, and i build a
dns response. all as describe in rfc of DNS: 1035 1034.

unfortunatly, i don't get the ip response to be showed on the first
computer mfc application.

here are stuff i tried to do:
i enter a name of a computer i know as the name i send from the mfc
application (as a dns query). this name is a computer name in my local
network. i redefine the dns setting on the network card to be default
(as they were before i changed them to the other computer IP) so that
now any dns query will be send to the company real dns server.
this time i got a response with the compter ip as expected.
i change back the setting of the network card to point to the ip of
the secound computer (not the one with the mfc application) as a dns
server and as a default gateway.
i used the same name as query.
in the first computer code i accept the dns query and build a reply
exacly the same as it was when working with the real dns server just
that i always return the ip to be 10.10.10.10 (hard coded).
this time i din't get this IP at my mfc application.
i cann't use windows function to deal with the dns query at the
secound computer (!!!). only at the computer with the mfc application
i can use windows os function.

i used ethereal (an application that sniff the network) to see that
the dns messages are send and recieved both sides.
i see that the query and the response get to each computer. everything
looks right as it was in the messages when a real dns server was
defined.

is anyone have any idea what more i can do????

any help with be great!!!

tnx in advance,
Eli

.



Relevant Pages

  • Re: Help with initial small org AD setup convention when using DMZ network
    ... Consider using Dynamic DNS internally (aka Active Directory Integrated ... > firewall which then connects the public IP dmz network to a private IP ... > domain name for such subnets based on the nearest airport code, ... > servers to serve acme.com names for external users. ...
    (microsoft.public.win2000.active_directory)
  • Re: About DNS naming convention for Active Directory
    ... Here's what I did so far, I set up a private network consists of the ... I did an in-place upgrade of the NT4 PDC to Active Directory 2003, ... I had no DNS service at all. ... Joined the 2003 Server as a member server and that went well too. ...
    (microsoft.public.windows.server.dns)
  • Re: IE cant connect to any sites
    ... On the General tab in the Temporary Internet Files Folder, ... Click on "LAN Settings" and make sure everything is blank, ... Network settings ... IP address automatically", click on the DNS tab, disable DNS here, click ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Error Message
    ... On the General tab in the Temporary Internet Files Folder, ... Click on "LAN Settings" and make sure everything is blank, ... Network settings ... IP address automatically", click on the DNS tab, disable DNS here, click ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: How do my server 2003 (DNS) know the Internet?
    ... The Multihomed function is not for Internet access. ... has an ip of 156.40.10.10 for that network. ... It is due to a number of reasons, mainly DNS registration of both NICs, whereas you do not want that. ... It's highly recommended to single home all DCs and use a non-DC for the multihoming purposes. ...
    (microsoft.public.windows.server.dns)