Dnsmasq help needed


I want to add this files (uploaded to Proton Drive)

To my OpenWRT. Can anybody help me? How to add both of them? Does syntax OK?

Use an adblock package and it will be done automatically:

No space unfortunately. After I install this lists several KB remaining n

Use curl to download directly on the router or download on your pc and use WinSCP to transfer to the router.

What is your device?

ubus call system board
1 Like

Used scp -O -r hosts_raw root@

I am on Linux, no Windows :slight_smile:

"kernel": "5.10.176",    
        "system": "Qualcomm Atheros QCA9531 ver 2 rev 0",
        "model": "GL.iNet GL-SFT1200",
        "board_name": "glinet, sft1200",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "22.03.4",
                "revision": "r20123-38ccc47687",
                "target": "ath79/nand",
                "description": "OpenWrt 22.03.4 r20123-38ccc47687"
1 Like

That's not Openwrt, but GL.iNet's version.

You'll have to ask them.

It appears you are using firmware that is not from the official OpenWrt project.

When using forks/offshoots/vendor-specific builds that are "based on OpenWrt", there may be many differences compared to the official versions (hosted by OpenWrt.org). Some of these customizations may fundamentally change the way that OpenWrt works. You might need help from people with specific/specialized knowledge about the firmware you are using, so it is possible that advice you get here may not be useful.

You may find that the best options are:

  1. Install an official version of OpenWrt, if your device is supported (see https://firmware-selector.openwrt.org).
  2. Ask for help from the maintainer(s) or user community of the specific firmware that you are using.
  3. Provide the source code for the firmware so that users on this forum can understand how your firmware works (OpenWrt forum users are volunteers, so somebody might look at the code if they have time and are interested in your issue).

If you believe that this specific issue is common to generic/official OpenWrt and/or the maintainers of your build have indicated as such, please feel free to clarify.


@frollic is correct... that device is not even supported by the official OpenWrt project. Please ask GL-inet for help.

1 Like

I wrote to support. Waiting. Hope they will help…

Maybe you can share how this can be done on your router with official one? Maybe it will help even in my case…

The extent to which GL-inet customizes their firmware means that there are often things that simply don't translate from official OpenWrt to theirs.

That said, adblock is the way to do this on OpenWrt, so if it doesn't work, it may be related to the differences in their firmware.