OPNsense Forum

English Forums => General Discussion => Topic started by: MindFullOfMush on January 14, 2022, 12:19:13 AM

Title: URL table alias does not work
Post by: MindFullOfMush on January 14, 2022, 12:19:13 AM
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?

Title: URL table alias does not work
Post by: 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
Title: Re: URL table alias does not work
Post by: cookiemonster on January 14, 2022, 10:37:00 PM
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.
Title: Re: URL table alias does not work
Post by: mimugmail on January 15, 2022, 08:54:28 AM
Set a hourly refresh and check System Log, maybe your local DNS doesnt work
Title: Re: URL table alias does not work
Post by: stefan21 on June 17, 2024, 12:36:06 PM
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