Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

BIND to TINYDNS (help)

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
r00t440
Tux's lil' helper
Tux's lil' helper
Posts: 93
Joined: Wed Sep 14, 2005 4:49 am

BIND to TINYDNS (help)

  • Quote

Post by r00t440 » Mon Apr 07, 2008 4:00 pm

Hello Experts,


I use tinydns(djbdns) instead of BIND, unfortunately most examples on the web uses BIND. I'm now on the process of making DKIM work with postfix. I need to convert the following BIND TXT entry to TinyDNS:

Code: Select all

default._domainkey IN TXT "v=DKIM1; g=*; k=rsa; p=XXXXXXXXXX(encrypted string)XXXXXXXXXX" ; ----- DKIM default for mydomain.com
I've tried:

Code: Select all

default._domainkey:v=DKIM1; g=*; k=rsa; p=XXXXXXXXXX(encrypted string)XXXXXXXXXX ; ----- DKIM default for mydomain.com:3600
and

Code: Select all

default._domainkey:v=DKIM1; g=*; k=rsa; p=XXXXXXXXXX(encrypted string)XXXXXXXXXX:3600
without any luck.


TIA
Top
jtrooney
Tux's lil' helper
Tux's lil' helper
Posts: 82
Joined: Wed Nov 10, 2004 9:21 am

  • Quote

Post by jtrooney » Mon Apr 07, 2008 5:20 pm

Haven't used this myself but txt records are pretty easy just need to make sure you escape properly, give something like this a try:

'example.com:v=DKIM1;\040g=*;\040k=rsa;\040p=XXXXXXXXXXXXXXXXXXXX:3600
Top
r00t440
Tux's lil' helper
Tux's lil' helper
Posts: 93
Joined: Wed Sep 14, 2005 4:49 am

  • Quote

Post by r00t440 » Tue Apr 08, 2008 1:32 am

hi thanks a lot, but still it doesn't work. I'll try to look for other clues. By the way, is it possible to verify the TXT entry, like "dig mydomain.com txt"? i've tried it, but it only replies with a TXT entry corresponding to my SPF records.

sorry for my poor english.
Top
r00t440
Tux's lil' helper
Tux's lil' helper
Posts: 93
Joined: Wed Sep 14, 2005 4:49 am

  • Quote

Post by r00t440 » Tue Apr 08, 2008 4:25 am

Perhaps I should rephrase my question:

I've "emerge dkim-milter" then "emerge --config dkim-milter". I am now required to do the following:

Code: Select all

 * Make sure you have the following settings in your dkim-filter.conf:
 *   Keyfile /etc/mail/dkim-filter/default.private
 *   Selector default

 * If you are using Postfix, add following lines to your main.cf:
 *   smtpd_milters     = unix:/var/run/dkim-filter/dkim-filter.sock
 *   non_smtpd_milters = unix:/var/run/dkim-filter/dkim-filter.sock
 * After you configured your MTA, publish your key by adding this TXT record to your domain:
default._domainkey IN TXT "v=DKIM1; g=*; k=rsa; p=MIGfMA0GC4qGfgb3DQEbA5UrA1GNA1CBiQKBgQC3Xwkwhize7e4Z6yZSxpRnGGdwH1iiBJJChlss+0W6V+RM1XPg4CxalkkTgkZULK83cRNycB9yK8j/7DDuRU22yYjYjmxKljQd20E+pD7wLdixyMheYM3IYLn0IKq9QYB9kcwIW4oc3VxFsCk4+vHkve983gMpTLPXEP/mBXy6lQIDAQAB" ; ----- DKIM default for example.com
 * t=y signifies you only test the DKIM on your domain. See following page for the complete list of tags:
 *   http://www.dkim.org/specs/rfc4871-dkimbase.html#key-text
 *
 * Also look at the draft SSP http://www.dkim.org/specs/draft-ietf-dkim-ssp-01.html
The way I see it, the TXT entry appears to be BINDish. How do I convert it to TinyDNS? Also, How do I query my DNS server to check if indeed the TXT entry was properly added?


TIA
Top
DarKRaveR
Guru
Guru
Posts: 500
Joined: Sat Oct 11, 2003 10:35 pm
Location: Old Europe/G-Many

  • Quote

Post by DarKRaveR » Tue Apr 08, 2008 9:56 am

You can check it by looking up the TXT resource for your domain/zone: dig TXT example.com (you can use whatever lookuptool you want)

Concerning your problem: What does the tinydns manual say bout TXT records?
Top
m.b.j.
Guru
Guru
Posts: 407
Joined: Fri Sep 12, 2003 12:16 pm
Location: Germany (Essen)

  • Quote

Post by m.b.j. » Tue Apr 08, 2008 12:00 pm

http://www.anders.com/projects/sysadmin ... rdBuilder/
You can use this record builder to compile your domainKey records.
root@mbj # echo "sys-pizza/calzone -tunfish" >> /etc/paludis/use.conf
root@mbj # paludis -i calzone --dl-blocks discard
Top
Post Reply

6 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic