Re: Using dnscmd to Add and Delete records

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

From: Al (alr_at_ihostuhost.net)
Date: 02/08/05


Date: Mon, 7 Feb 2005 23:40:12 -0700

Thanks for your suggestion Mark, however that does not solve the problem. I
think the data is cached somewhere, becuase with a /ZoneWriteback you can
actually see that the record is deleted from the DNS file. Still the remote
machines keep resolving the name to the deleted ip address

What I am trying to accomplish is to be able to connect to our customers
remotely, but since their ip addresses change all the time we have written a
script which checks their ip address and if it is different we want it to be
written to our DNS server, so that we can always access their machines. I
think the "dnscmd" tool should be the best tool for this, but would a WMI
scipt be any different?

"Mark Renoden [MSFT]" <markreno@online.microsoft.com> wrote in message
news:umm8IjZDFHA.392@TK2MSFTNGP14.phx.gbl...
> Hi Al
>
> It's probably because the requests is cached locally. After the deletion,
> try an
>
> ipconfig /flushdns
>
> The test.
>
> HTH
> --
> Mark Renoden [MSFT]
> Windows Platform Support Team
> Email: markreno@online.microsoft.com
>
> Please note you'll need to strip ".online" from my email address to email
> me; I'll post a response back to the group.
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "Al" <alr@ihostuhost.net> wrote in message
> news:OtqpCcZDFHA.3688@TK2MSFTNGP14.phx.gbl...
> >I am using dnscmd to add and delete A records to our domain the commands
> > both complete successfully, but after a /RecordDelete when you ping the
> > just
> > removed host you still resolve the ip address which was just deleted.
> > However when you check from the console the record is indeed deleted.
> > /ZoneWriteback, /ZoneRefresh or /ZoneReload seem to have no effect.
> >
> > Is there a setting I am missing on the Server?
> >
> >
>
>



Relevant Pages

  • Re: Domain workstation cannot see the domain for adding user permi
    ... My ISP had provided two dns server ... Now I have internet access via the dsl ... use only domain controllers as their preferred DNS servers because in an AD ... The network has a dsl router which only some machines are allowed to use ...
    (microsoft.public.windowsxp.security_admin)
  • Re: New XP machines intermittent delays on Domain
    ... When I login into a Windows 2000 active directory from a new xp pro machine ... XP clients can find the DNS server. ... Disable NetBIOS on the interfaces that client will not use. ... >running fine until we purchased some new Dell machines. ...
    (microsoft.public.windowsxp.network_web)
  • Re: DNS not resolving correctly on VPN
    ... When they log in via VPN, we pass the same DNS server. ... I will work with one of this machines today and post back. ... > the users use the OWA from the Internet side? ...
    (microsoft.public.win2000.dns)
  • Re: DNS setup
    ... >> address which changes on a regular basis and the root domain and ... >> I have a number of machines on my wireless network and I would like ... but occasionally network traffic gets really slow and I ... > 1) Set up a local DNS server on all the machines of the network. ...
    (freebsd-questions)
  • Re: Domain workstation cannot see the domain for adding user permi
    ... approach but to instead use ONLY your domain controllers and configure them ... does not go to the other one if the DNS server returns a "not found" ... Now I have internet access via the dsl ... The network has a dsl router which only some machines are allowed to ...
    (microsoft.public.windowsxp.security_admin)