DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 11th November 2017
ucharfli ucharfli is offline
Port Guard
 
Join Date: May 2017
Posts: 22
Default OpenBSD 6.2: Error writing unbound.conf: Operation not permitted

Hi guys,
I am trying to add a local-data but it is not added?

unbound.conf
Code:
local-data: "msn.com A 0.0.0.0"
or 
include: /var/unbound/etc/myunbound.conf
$ ls -all
-rw-r--r-- 1 root    2249 Mar 28  2017 unbound.conf
I added the presentation.
Code:
unbound_flag = "- c /var/unbound/etc/myunbound.conf"
Service did not start.
Code:
# rcctl start unbound
unbound(failed)
How do I include my own arrangements?
I do not want to change permissions!

I want to make an adblock?
Code:
local-data: " A 0.0.0.0"
local-data: "0.r.msn.com A 0.0.0.0"
local-data: "005.free-counter.co.uk A 0.0.0.0"
local-data: "006.free-adult-counters.x-xtra.com A 0.0.0.0"
local-data: "006.free-counter.co.uk A 0.0.0.0"
local-data: "006.freecounters.co.uk A 0.0.0.0"
local-data: "007.free-counter.co.uk A 0.0.0.0"
local-data: "007.go2cloud.org A 0.0.0.0"
local-data: "0075-7112-e7eb-f9b9.reporo.net A 0.0.0.0"
local-data: "008.free-counter.co.uk A 0.0.0.0"

Last edited by ucharfli; 11th November 2017 at 10:33 AM.
Reply With Quote
  #2   (View Single Post)  
Old 12th November 2017
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

Quote:
Originally Posted by ucharfli View Post
Code:
unbound_flag = "- c /var/unbound/etc/myunbound.conf"
Service did not start.
Code:
# rcctl start unbound
unbound(failed)
You have space between dash and c.
Fix this by command:
Code:
# rcctl set unbound flags "-c /var/unbound/etc/unbound.conf"
__________________
Signature: Furthermore, I consider that systemd must be destroyed.
Based on Latin oratorical phrase
Reply With Quote
  #3   (View Single Post)  
Old 14th November 2017
ucharfli ucharfli is offline
Port Guard
 
Join Date: May 2017
Posts: 22
Default

@e1-531g, thank a lot. Problem solved.
Reply With Quote
Reply

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
Pf.conf:29 syntax error CyberJet OpenBSD Security 17 3rd May 2013 06:41 PM
OpenBSD : Ripping and writing music CDs with cdio(1) J65nko Guides 5 30th November 2011 08:33 PM
mpd: "Operation not permitted" IIMarckus OpenBSD Packages and Ports 4 29th October 2008 08:10 AM
mount: /dev/ad1s1d : Operation not permitted tutosun FreeBSD General 8 9th October 2008 07:28 PM
Mutex unlock failure: Operation not permitted ccc FreeBSD Ports and Packages 8 16th June 2008 10:46 PM


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


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