<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>No response to this post as yet?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any help appreciated.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>RayG<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='mso-fareast-language:EN-GB'>From:</span></b><span lang=EN-US style='mso-fareast-language:EN-GB'> RayG <rgsub1@btinternet.com> <br><b>Sent:</b> 14 October 2020 15:59<br><b>To:</b> 'unbound-users@lists.nlnetlabs.nl' <unbound-users@lists.nlnetlabs.nl><br><b>Subject:</b> RPZ: is this config correct?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have created the following RPZ entry for unbound and added respip to the module configuration.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>rpz:<o:p></o:p></p><p class=MsoNormal> name: "rpz.urlhaus.abuse.ch."<o:p></o:p></p><p class=MsoNormal> zonefile: "c:\programdata\unbound\logs\URLHaus.rpz"<o:p></o:p></p><p class=MsoNormal> url: <a href="https://urlhaus.abuse.ch/downloads/rpz">https://urlhaus.abuse.ch/downloads/rpz</a><o:p></o:p></p><p class=MsoNormal> rpz-log: yes<o:p></o:p></p><p class=MsoNormal> rpz-log-name: "URLHausRPZ"<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If I understand things correctly unbound should fetch the zone file using the URL and store the data in the zonefile. I created an empty zone file but it is not being populated by unbound. I cannot see any relevant issues in the log file. I also do not (have not yet) seen any entries in the log file with the appended log name item.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Do I have the correct configuration and understanding?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Following on would it be correct to add these masters to the configuration:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> master: 151.101.130.49<o:p></o:p></p><p class=MsoNormal> master: 151.101.66.49<o:p></o:p></p><p class=MsoNormal> master: 151.101.194.49<o:p></o:p></p><p class=MsoNormal> master: 151.101.2.49<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>C:\>dig urlhaus.abuse.ch.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>; <<>> DiG 9.16.6 <<>> urlhaus.abuse.ch.<o:p></o:p></p><p class=MsoNormal>;; global options: +cmd<o:p></o:p></p><p class=MsoNormal>;; Got answer:<o:p></o:p></p><p class=MsoNormal>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1870<o:p></o:p></p><p class=MsoNormal>;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>;; OPT PSEUDOSECTION:<o:p></o:p></p><p class=MsoNormal>; EDNS: version: 0, flags:; udp: 4096<o:p></o:p></p><p class=MsoNormal>;; QUESTION SECTION:<o:p></o:p></p><p class=MsoNormal>;urlhaus.abuse.ch. IN A<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>;; ANSWER SECTION:<o:p></o:p></p><p class=MsoNormal>urlhaus.abuse.ch. 3037 IN CNAME p2.shared.global.fastly.net.<o:p></o:p></p><p class=MsoNormal>p2.shared.global.fastly.net. 29 IN A 151.101.130.49<o:p></o:p></p><p class=MsoNormal>p2.shared.global.fastly.net. 29 IN A 151.101.194.49<o:p></o:p></p><p class=MsoNormal>p2.shared.global.fastly.net. 29 IN A 151.101.2.49<o:p></o:p></p><p class=MsoNormal>p2.shared.global.fastly.net. 29 IN A 151.101.66.49<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The URL Returns data like this:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB'>$TTL 30<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB'>@ SOA rpz.urlhaus.abuse.ch. hostmaster.urlhaus.abuse.ch. 2010141440 300 1800 604800 30<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB'>NS localhost.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB'>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB'>; abuse.ch URLhaus Response Policy Zones (RPZ)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB'>; Last updated: 2020-10-14 14:40:12 (UTC)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB'>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB'>; Terms Of Use: <a href="https://urlhaus.abuse.ch/api/">https://urlhaus.abuse.ch/api/</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB'>; For questions please contact urlhaus [at] abuse.ch<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB'>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB'>testentry.rpz.urlhaus.abuse.ch CNAME . ; Test entry for testing URLhaus RPZ<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB'>1am.co.nz CNAME . ; Malware download (2020-08-17), see <a href="https://urlhaus.abuse.ch/host/1am.co.nz/">https://urlhaus.abuse.ch/host/1am.co.nz/</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB'>1ca.co.za CNAME . ; Malware download (2020-08-28), see <a href="https://urlhaus.abuse.ch/host/1ca.co.za/">https://urlhaus.abuse.ch/host/1ca.co.za/</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB'>1med.kiev.ua CNAME . ; Malware download (2020-10-14), see <a href="https://urlhaus.abuse.ch/host/1med.kiev.ua/">https://urlhaus.abuse.ch/host/1med.kiev.ua/</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:EN-GB'>21robo.com CNAME . ; Malware download (2019-02-20), see <a href="https://urlhaus.abuse.ch/host/21robo.com/">https://urlhaus.abuse.ch/host/21robo.com/</a><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>