extract only Static IP information from DNS/zone DB file

Discussion in 'DNS Server' started by Shash, Jan 9, 2010.

  1. Shash

    Shash Guest


    How would I extract only Static IP information from DNS/zone DB file?
    I want to find out how many static IPs have been configured in DNS server
    with too many zones.
    Please help!

    Shash, Jan 9, 2010
    1. Advertisements

  2. Hello Shash,

    If you mean the computers with a fixed ip address instead of DHCP, this cannot
    be extracted from the DNS zones as far as i know. You have to compare either
    the DHCP address leases with the DNS zones.

    This script maybe can help you to find the remote ip address and compare
    with DHCP scopes to see if it is fixed or a lease:

    Best regards

    Meinolf Weber
    Meinolf Weber [MVP-DS], Jan 9, 2010
    1. Advertisements

  3. Hi Meinolf,

    I believe DNSCMD may be able to extract that info. However, I couldn't find
    a specific command line to enumerate static entries, rather it's possible to
    use it to enumerate all records with their details and look at the time

    Dnscmd Overview


    This posting is provided "AS-IS" with no warranties or guarantees and
    confers no rights.

    Please reply back to the newsgroup or forum for collaboration benefit among
    responding engineers, and to help others benefit from your resolution.

    Ace Fekay, MVP, MCT, MCITP EA, MCTS Windows 2008 & Exchange 2007, MCSE &
    MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services

    If you feel this is an urgent issue and require immediate assistance, please
    contact Microsoft PSS directly. Please check http://support.microsoft.com
    for regional support phone numbers.
    Ace Fekay [MVP-DS, MCT], Jan 9, 2010
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.