Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Thread Tools Display Modes
  #1   (View Single Post)  
Old 9th August 2014
cmacrae cmacrae is offline
Real Name: Calum MacRae
New User
Join Date: Apr 2014
Location: UK
Posts: 4
Default Unbound reverse-ptr stub-zone woes

Hi guys,

Encountering a really annoying issue with Unbound that I'm hoping some of you may be able to help with.

I'm actually running unbound under an illumos zone on SmartOS, but, I've replicated the issue on OpenBSD, and figured posting in the OpenBSD section might get a bit more attention, the Solaris section seems a bit dead...

Of course, I feel this is more an issue with unbound itself.
Mods: feel free to move this post of course, apologies if I'm 'causing you any frustration.

I have the following line in my unbound.conf:
local-zone: "10.in-addr.arpa." nodefault
Related to the following stub-zone:
                name: "10.in-addr.arpa."
This is supposed to forward reverse lookups for anything in to an NSD instance I have running elsewhere.

Looking at the man page, at example configurations distributed with the package, at mailing lists and other online sources: this looks like it's exactly how it should be.

But, upon running the syntax-checker, it yields the following message:
/opt/local/etc/unbound/unbound.conf:41: error: syntax error
read /opt/local/etc/unbound/unbound.conf failed: 1 errors in configuration file
Line 41 is the local-zone mentioned above.

Does anybody have any clue what I'm doing wrong? 'Cause I sure can't!

Here's my entire config (with my domain replaced with "<domain>"):
        num-threads: 1
        verbosity: 3
        logfile: "/opt/local/etc/unbound/log/unbound.log"

        access-control: allow
        access-control: allow

        root-hints: "/opt/local/etc/unbound/root.hints"
        auto-trust-anchor-file: "/opt/local/etc/unbound/root.key"

        hide-identity: yes
        hide-version: yes
        harden-glue: yes
        harden-dnssec-stripped: yes
        use-caps-for-id: yes
        unwanted-reply-threshold: 10000
        val-clean-additional: yes

        cache-min-ttl: 3600
        cache-max-ttl: 86400
        prefetch: yes

        private-domain: "<domain>"

        include: "/opt/local/etc/unbound/adblock.conf"

                control-enable: yes

                name: "."

        local-zone: "10.in-addr.arpa." nodefault

                name: "<domain>"

                name: "10.in-addr.arpa."
Thanks in advance for any help on this, I'd really appreciate it!
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
unbound reverse lookup private zone Oko General software and network 2 20th November 2013 03:15 PM
Xorg woes... jb_daefo FreeBSD General 1 5th June 2011 04:35 AM
How to set reverse DNS to my domain? guitarscn General software and network 1 12th September 2010 04:58 PM
Mysql installation woes... biscuits FreeBSD Ports and Packages 1 23rd November 2008 04:09 AM
widescreen woes jbhappy FreeBSD General 8 25th June 2008 08:25 PM

All times are GMT. The time now is 05:59 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick