Additional carriage return in TXT record added via WMI

Discussion in 'DNS Server' started by David OHara, Mar 5, 2007.

  1. David OHara

    David OHara Guest

    I've create a small service (C#) to update TXT records on our DNS server.
    When it adds a new record, it is supposed to fill in the data field with a
    string such as "SampleText" however an additional CRLF is added at the end
    of the data and causes DNS to believe that there are multiple values for
    this record - this can be seen by using the GUI and viewing the "," at the
    end of the data for that record. The exact same code does NOT put this CRLF
    on a Windows 2000 box, only on the 2003 servers.

    Also, I tested adding records with the VBScript samples that are provided
    with the WMI DNS provider to be certain that it was not my code. These
    behave in the exact same manner so please don't try to say that it's my

    Has anyone else experienced this?? Am I just missing a simple setting

    Dave O'Hara
    David OHara, Mar 5, 2007
    1. Advertisements

  2. David OHara

    David OHara Guest

    So does the fact that I've gotten no responses mean that no one else is
    experiencing this or just that no one has any ideas how to fix this??

    Dave O'Hara
    David OHara, Mar 7, 2007
    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.