bia-pain-bache / BPB-Worker-Panel

A GUI Panel providing Worker subscriptions for VLESS, Trojan and Warp configs alongside chain proxies, offering full DNS, clean IP, Fragment, Warp, Warp pro and routing settings for cross-platform clients using Sing-box, Clash/Mihomo and Xray cores.
GNU General Public License v3.0
5.24k stars 27.84k forks source link

label ip addresses, local dns does not seem to support doh addresses #474

Open 9thChasingWindGirl opened 2 days ago

9thChasingWindGirl commented 2 days ago

Feature description | توضیحات ویژگی

I created two cloud flare pages, one from edgetunnel repositories and one fork from you (pre 2.7.2)

In the work.js file provided by edgetunnel, we can define ADD variable, attach custom label and flag to ip address image

so it would be seem like this:

image

this may prevent social accounts from being frozen due to frequent IP changes

and this is bpb panel :

image

the last thing is that local dns doesn't seem to support doh and doesn't support multiple addresses.

image

bia-pain-bache commented 1 day ago

1- what's the point of adding flags? your IP location will be usually germany, no matter where is the location of node. 2- Why do you need DOH for local addresses? Is there any problem resolving local domains using udp dns? can you provide an example?

9thChasingWindGirl commented 1 day ago

1- what's the point of adding flags? your IP location will be usually germany, no matter where is the location of node. 2- Why do you need DOH for local addresses? Is there any problem resolving local domains using udp dns? can you provide an example?

For the first point I just want to be able to make the network nodes look cleaner or customizable in the proxy software, that's all. The second, when copying remote dns as local, I found that doh was not available, and multiple dns were not available, not just doh.

9thChasingWindGirl commented 1 day ago

1- what's the point of adding flags? your IP location will be usually germany, no matter where is the location of node. 2- Why do you need DOH for local addresses? Is there any problem resolving local domains using udp dns? can you provide an example?

I also need to add that in the mainland of China, usually a local dns is not enough.

bia-pain-bache commented 1 day ago

Configs used to show node IPs, however clients UI issues forced me to make it cleaner and display them only using numbers and format. DOH is banned almost in all countries like iran and China, and it's only resolving local domain which are bypassed or outbound domains, so it can be a udp DNS like 223.5.5.5 in your region or even your router gateway if connected to a local network. I can help better if you provide an example which needs doh for local DNS.

9thChasingWindGirl commented 1 day ago

Configs used to show node IPs, however clients UI issues forced me to make it cleaner and display them only using numbers and format. DOH is banned almost in all countries like iran and China, and it's only resolving local domain which are bypassed or outbound domains, so it can be a udp DNS like 223.5.5.5 in your region or even your router gateway if connected to a local network. I can help better if you provide an example which needs doh for local DNS.

As you said, bpb panel can use dns pointing to home gateway, so when I use mobile network outside of mobile phone, if there are multiple local dns configured in bpb panel, will it be more convenient? I did configure a DNS server in the router gateway, but it would be nice to have multiple local DNS servers.