DNS zone forward on Turris Omnia

Using these steps we will forward DNS zone <FORWAREDED ZONE> to DNS server <DNS SERVER> that actually holds the zone.

At first we need to create custom configuration file named /etc/kresd/custom.conf that will be then appended to default configuration file with this content:

local forward_rule = policy.add(policy.suffix(policy.FORWARD('<DNS SERVER>'), policy.todnames({'<FORWARDED ZONE>'})))
policy.del(forward_rule.id)
table.insert(policy.rules, 1, forward_rule)

As this configuration file is appended at the end of the generated configuration we have to remove the rule and then force it to first position as last configuration option in default turris configuration redirects everything to upstream DNS servers effectively causing to ignore any policy added in custom configuration.

Then edit /etc/config/resolver file and at the end of the section config resolver 'kresd add line

option include_config '/etc/kresd/config.conf'

And restart Knot DNS server by

/etc/init.d/kresd restart

Generated configuration file that is actually used is stored in temporary file /tmp/kresd.config.

Comments

JimmiXzSw #1 19. 02. 2017 04:22

eQl524 http://www.FyLitCl7Pf7ojQdDUOLQOuaxTXbj5iNG.com

JimmiXzSw #2 19. 02. 2017 17:44

5q7k0a http://www.FyLitCl7Pf7ojQdDUOLQOuaxTXbj5iNG.com

Barnypok #3 01. 04. 2017 00:35

yQlOrf http://www.LnAJ7K8QSpkiStk3sLL0hQP6MO2wQ8gO.com

Barnypok #4 01. 04. 2017 05:19

pscke8 http://www.LnAJ7K8QSpkiStk3sLL0hQP6MO2wQ8gO.com

Barnypok #5 01. 04. 2017 19:55

e1COfb http://www.LnAJ7K8QSpkiStk3sLL0hQP6MO2wQ8gO.com

college degrees #6 16. 04. 2017 13:10

Good day I am so excited I found your web site, I really found you by mistake, while I was researching on Aol for something else, Anyways I am here now and would just like to say kudos for a tremendous post and a all round interesting blog (I also love the theme/design), I don't have time to look over it all at the minute but I have saved it and also added your RSS feeds, so when I have time I will be back to read more, Please do keep up the superb jo. http://edutips.eu

tips for financial planning #7 20. 04. 2017 03:49

Heya i'm for the first time here. I found this board and I in finding It really useful & it helped me out a lot. I'm hoping to offer one thing again and aid others like you helped me. http://financehint.eu

financial consultant #8 20. 04. 2017 13:36

Fantastic beat ! I wish to apprentice whilst you amend your web site, how can i subscribe for a blog site? The account helped me a acceptable deal. I were a little bit acquainted of this your broadcast provided bright transparent concept http://financepoints.eu

education for all #9 20. 04. 2017 22:17

It's actually a nice and helpful piece of info. I'm happy that you just shared this useful info with us. Please stay us informed like this. Thanks for sharing. http://studypoints.eu

Pungaliaguish #10 25. 04. 2017 04:45

http://misconjecture.xyz <a href="http://misconjecture.xyz">norsk kasino</a> http://misconjecture.xyz - norsk kasino

school education #11 01. 05. 2017 08:17

Hello my family member! I want to say that this post is amazing, great written and come with approximately all important infos. I'd like to peer more posts like this . http://studytip.eu

finance companies #12 04. 05. 2017 10:07

Great blog you have here but I was wanting to know if you knew of any community forums that cover the same topics discussed in this article? I'd really like to be a part of community where I can get suggestions from other knowledgeable people that share the same interest. If you have any recommendations, please let me know. Thank you!| [url=http://financehints.eu]finance companies[/url]

employee legal advice #13 05. 05. 2017 13:34

I'm really enjoying the design and layout of your website. It's a very easy on the eyes which makes it much more enjoyable for me to come here and visit more often. Did you hire out a designer to create your theme? Outstanding work! employee legal advice http://employmenthint.eu/

employment solicitors #14 06. 05. 2017 01:12

Hi there, yeah this paragraph is really fastidious and I have learned lot of things from it concerning blogging. thanks. employment solicitors http://employmenthint.eu/

jobs at home #15 06. 05. 2017 15:44

Saved as a favorite, I really like your web site! jobs at home http://homebusinesstips.eu/

JasVoncusy #16 10. 05. 2017 07:51

Acheter Viagra 30 Pilules Viagra 100mg Viagra Generico Esiste discount generic isotretinoin accutane internet medication next day Discount Cipro Buy Real Vigra Azithromycin Zithromax Buy <a href=http://byuvaigranonile.com>viagra</a> Buy Prednisone For Dogs No Prescription Comprare Levitra Milano Kamagra Australia Paypal How Do I Ask My Doctor For Cialis Viagra 100mg Canada

JimmiXzSq #17 18. 05. 2017 12:10

oLnfRk http://www.LnAJ7K8QSpkiStk3sLL0hQP6MO2wQ8gO.com

JimmiXzSq #18 19. 05. 2017 16:01

gVsVPb http://www.LnAJ7K8QSpkiStk3sLL0hQP6MO2wQ8gO.com

JimmiXzSq #19 19. 05. 2017 16:01

6EbHZd http://www.LnAJ7K8QSpkiStk3sLL0hQP6MO2wQ8gO.com

JimmiXzSq #20 19. 05. 2017 20:02

ZvLFiO http://www.LnAJ7K8QSpkiStk3sLL0hQP6MO2wQ8gO.com

JimmiXzSq #21 20. 05. 2017 00:24

hb0n9R http://www.LnAJ7K8QSpkiStk3sLL0hQP6MO2wQ8gO.com

JimmiXzSq #22 20. 05. 2017 13:54

Z5Lav6 http://www.LnAJ7K8QSpkiStk3sLL0hQP6MO2wQ8gO.com

KennDryday #23 16. 06. 2017 22:11

25 Mcg Levothyroxine For Sale <a href=http://levitra-best-prices.buylevi.com>Levitra Best Prices</a> Lasix Czech Republic For Sale Secure Ordering Progesterone Cash Delivery Best Website <a href=http://order-priligy-online.priliorder.com>Order Priligy Online</a> Viagra Anonym Bestellen

Add new comment