Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    SRV records with tinydns - do they work?

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    2 Posts 2 Posters 2.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      leenooks
      last edited by

      Hi,

      I dont think SRV records work with tinydns (unless you implement them as "raw")?

      Having a quick look at /usr/local/pkg/tinydns.inc at the resulting "data" file that is created, it would appear that the SRV records are not formatted correctly.

      (The variables rec_port,rec_weight are never defined, and around line 557, tinydns_get_rowline_data() is called with variables $domain[src_], when they are stored as $domain[$srv_] - thus they are blank.

      While I was able to "hack" the resulting produced data file to render a correct SRV line for tinydns - it never resolved anyway (looking up "A" records returns results immediately, but looking up "SRV" records results in no response) and couldnt figure out why. (I was using this page as a reference http://wiki.alpinelinux.org/wiki/TinyDNS_Format#SRV).

      Anybody else have this working, (without having to use "RAW" records)?

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        No, not without patches. Given the "problematic" (to put this very mildly) upstream, I'd not install any such thing anywhere. It works just fine with unbound.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.