URL table alias does not work

Started by MindFullOfMush, January 14, 2022, 12:19:13 AM

Previous topic - Next topic
Everything works like a charm on OpnSense, multiwan, vpn failover, so I would have expected url tables to be a piece of cake.

But I cannot get alias URL Tables to work. 
I have played with the alias resolve interval, max firewall table entries.
yet I see no entries in /var/db/aliastable/XXXXX.txt for whatever urltable I have created. it creates an empty text file for those alias's and thats it even after a day of waiting.

I do not even see any cron job created for aliastable updates in system/settings/cron
And I do not see the system even attempting to fire off any dns even after immediately creating the table.

Does it even work at all?


January 14, 2022, 07:45:00 AM #1 Last Edit: January 14, 2022, 08:17:30 AM by Greelan
I just ran a test with https://www.spamhaus.org/drop/drop.txt and it seems to work fine

You can check the alias under firewall/diagnostics/aliases

working fine on 21.7.
I have name: ip_publicDNS
type: url table(ips)
content: http://public-dns.info/nameservers-all.txt
refresh every 7 days.
Contents show correcly on the firewall/diagnostics/aliases as Greelan says.
Create this one to test.

Set a hourly refresh and check System Log, maybe your local DNS doesnt work

This is (as today) still working:

Quote from: Greelan on January 14, 2022, 07:45:00 AM
I just ran a test with https://www.spamhaus.org/drop/drop.txt and it seems to work fine

You can check the alias under firewall/diagnostics/aliases

But:
QuoteFor long-term users of the DROP files in text format, we recommend you update your configuration with the above JSON files as soon as your cycles allow. If you require continued long-term use of a text file, the jq command can always be used to convert the JSON.

N.B. The text files are still being populated however, in time, these will be deprecated; users will be notified with ample notice before deprecation takes place.

Question: Did anybody already implement the https://www.spamhaus.org/drop/drop_v4.json? I can't get it working.

Thank's for any reply.
stefan