OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of howudodat »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Messages - howudodat

Pages: [1]
1
Development and Code Review / bind reverse-policy zone
« on: January 10, 2023, 09:12:12 pm »
Thoughts on adding a new tab to BIND plugin?
TAB: Overrides
Layout: mimic grid-master-records
if enabled: named.conf :
Code: [Select]
     zone "rpzlocal" { type master;   file "/usr/local/etc/namedb/rpzlocal.db"; };
     in options{} response-policy { zone "rpzlocal"; };

add/delete/update records
rpzlocal.db:
Code: [Select]
$TTL 60
@            IN    SOA  localhost. root.localhost.  (
                          2015112501   ; serial
                          1h           ; refresh
                          30m          ; retry
                          1w           ; expiry
                          30m)         ; minimum
                   IN     NS    localhost.

localhost       A   127.0.0.1
www.some-website.com    A        127.0.0.1

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2