LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 08-04-2016, 05:25 PM   #1
alanware
Member
 
Registered: Aug 2011
Location: Midwest-USA
Distribution: Slackware
Posts: 85

Rep: Reputation: Disabled
NSD zone XFR error "NOT IMPL"


I have a master/slave nsd setup and am testing the zone transfer. When I issue
Code:
nsd-control notify example.net
nsd-control notify 3.168.192.in-addr.arpa.
I receive an error message.

Code:
Aug  4 16:47:11 ns2 nsd[22095]: xfrd: zone example.net received error code NOT IMPL from 192.168.3.22
Aug  4 16:47:11 ns2 nsd[22095]: xfrd: zone 3.168.192.in-addr.arpa. received error code NOT IMPL from 192.168.3.22
Primary nsd.conf
Code:
server:
        hide-version: yes
        verbosity: 1
        database: "" # disable database

## bind to a specific address/port
        ip-address: 192.168.3.22
        ip-address: 127.0.0.1@8053

remote-control:
        control-enable: yes

## tsig key

key:
        name: "tsig1.example.net"
        algorithm: hmac-md5
        secret: ""

pattern:
        name: "toslave"
        notify: 192.168.3.23 tsig1.example.net
        provide-xfr: 192.168.3.23 tsig1.example.net
        outgoing-interface: 192.168.3.22

## example forward zone
zone:
        name: "example.net"
        zonefile: "example.net.zone"
        include-pattern: "toslave"

## example reverse zone
zone:
        name: "3.168.192.in-addr.arpa."
        zonefile: "example.net.rev"
        include-pattern: "toslave"
Secondary nsd.conf
Code:
server:
        hide-version: yes
        verbosity: 1
        database: "" # disable database

## bind to a specific address/port
        ip-address: 192.168.3.23
        ip-address: 127.0.0.1@8053

remote-control:
        control-enable: yes

## tsig key

key:
        name: "tsig1.example.net"
        algorithm: hmac-md5
        secret: ""

pattern:
        name: "frommaster"
        allow-notify: 192.168.3.22 tsig1.example.net 
        request-xfr: 192.168.3.22 tsig1.example.net
        outgoing-interface: 192.168.3.23

## example.net forward zone
zone:
        name: "example.net"
        zonefile: "example.net.zone"
        include-pattern: "frommaster"

## example.net reverse zone
zone:
        name: "3.168.192.in-addr.arpa."
        zonefile: "example.net.rev"
        include-pattern: "frommaster"
 
Old 08-04-2016, 05:52 PM   #2
alanware
Member
 
Registered: Aug 2011
Location: Midwest-USA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: Disabled
This is on OpenBSD 5.9.
 
Old 08-05-2016, 08:50 AM   #3
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 289

Rep: Reputation: 169Reputation: 169
Maybe I'm misreading but you have null keys and do not use NOKEY.
 
Old 08-05-2016, 11:27 AM   #4
alanware
Member
 
Registered: Aug 2011
Location: Midwest-USA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: Disabled
I deleted the key before I put it in the post.
 
Old 08-05-2016, 11:33 AM   #5
alanware
Member
 
Registered: Aug 2011
Location: Midwest-USA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: Disabled
To clarify further, I generate the key using the following command.

Code:
( dd if=/dev/urandom of=/dev/stdout count=1 bs=32 | base64 ) > tsig
I just did not want to post my key. I also changed the domain name to something generic.
 
Old 08-05-2016, 12:15 PM   #6
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 289

Rep: Reputation: 169Reputation: 169
Whelp, that was only a guess, and has exhausted my current analytical ability. Sorry.
 
Old 08-05-2016, 12:26 PM   #7
alanware
Member
 
Registered: Aug 2011
Location: Midwest-USA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: Disabled
Thank you for taking the time to post a reply.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] X: "loading extension glx" "no screens found" "fatal server error" (w/ nvidia driver) Geremia Slackware 7 12-29-2014 11:00 AM
Problem creating second zone: "Copying <0> files to the zone." AlucardZero Solaris / OpenSolaris 0 07-20-2010 03:12 PM
"Ignoring out-of-zone data" errors with my DNS Zone file zyzzogeton Linux - Networking 2 12-17-2009 08:51 AM
error: Error for wireless request "Set Mode" (8B06) : invalid argument "roaming" penguin chick Linux - Wireless Networking 5 08-22-2008 01:16 PM
DNS error : "localhost.zone file not found" rajat Linux - Server 2 04-25-2007 11:26 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration