Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#15 dns comment

v0.2.3
closed
5
2005-04-28
2004-10-21
Scott Grayban
No

The gentxt.csh program should also generate a comment that
contains just "domainkey for domain.com"

Scott

Discussion

1 2 > >> (Page 1 of 2)
  • Logged In: YES
    user_id=1048957

    Added to v0.2.3 as an optional argument to gentxt.csh.

     
    • assigned_to: nobody --> sm-msk
     
  • Logged In: YES
    user_id=1048957

    v0.2.3 released.

     
    • milestone: --> 431072
    • status: open --> closed
     
  • Scott Grayban
    Scott Grayban
    2004-10-23

    Logged In: YES
    user_id=108233

    What argument is it?

    After looking at the gentxt file I don't see where it is even a option.

    What I think is you miss-understood me. :)

    [root@borgnet dk-filter]# ./gentxt.csh borgnet.us borgnet
    ; ----- DomainKey borgnet.us for borgnet
    borgnet.us._domainkey IN TXT "g=; k=rsa; t=y;
    p=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMzZwxFxiGrK/
    qINgmIqGsHnIN219uvpsQVYTCh0HO6lpsvUceAQtYqiL1V7SspJJExNAqgqQ4
    mAyLV+bQ3HovUCAwEAAQ=="

    Thats fine BUT..... What I was meaning to imply was this......

    borgnet.us._domainkey.borgnet.us. IN TXT "g=; k=rsa; t=y;
    p=MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAM5twvXB/
    1qE25DrtaDU95TLdq7PYlEYyMQXiAhK5aMjBm1Hw5xRti/ngnjkm/
    8BnadU0RjDh+3K/W6bHE7ydt8CAwEAAQ==" ; ----- DomainKey borgnet.
    us

    You just put the comment in the wrong place for the dns entry.

    Scott

     
  • Scott Grayban
    Scott Grayban
    2004-10-23

    • status: closed --> open
     
  • Scott Grayban
    Scott Grayban
    2004-10-23

    Logged In: YES
    user_id=108233

    Maybe I should explain why.

    First if users have webmin installed and use that to enter the key from the
    output it wants to take the RSA part and use that for the comment.
    Then you have a problem.

    But if you just make a small change this way:

    # output the record
    if ("$domain" != "") then
    echo "; ----- DomainKey $selector for $domain"
    endif
    echo ${selector}._domainkey IN TXT '"'g=\; k=rsa\; t=y\; p=$pubkey'"'

    To just:

    echo ${selector}._domainkey IN TXT '"'g=\; k=rsa\; t=y\; p=$pubkey'"'
    "; ----- DomainKey for $domain"

    You avoid that issue with webmin.

    Also you may want to fix the usage statement to:

    # verify usage
    if ("$1" == "") then
    echo usage: $0 "selector [domain]"
    exit 1
    endif

    Scott

     
  • Scott Grayban
    Scott Grayban
    2004-10-24

    • milestone: 431072 --> v0.2.3
     
  • Logged In: YES
    user_id=1048957

    Is this really resolvable? Where one package wants such a
    comment might clash with another, or with sysadmin
    preference, or something else. There's no right answer.

     
  • Logged In: YES
    user_id=1048957

    Done for next release. Hopefully nobody comes along with a
    conflicting request.

     
1 2 > >> (Page 1 of 2)