Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - plikmuny

#1
Quote from: dseven on December 27, 2024, 12:31:08 PM[/localdomain/]192.168.1.1:53530

what is this localdomain ? where do i find it ?
#2
Thanks. i did just as you said. it looks bit more responsive now.
Will test it now for some time and report.
#3
Quote from: dseven on December 27, 2024, 12:18:43 PM
Quote from: plikmuny on December 27, 2024, 12:12:51 PMOk, then you suggest i use AGH alone with Unbound for local dns resolving ????
can i just use Unbound running on another Port for local resolving and the rest of DNS Queries handled by AGH with DoT/DoH servers instead of using Unbound with its Port as the Upstream/Bootstrap servers ???

Yes! Move unbound to another port, say 53530, put AGH on port 53, and configure it to use unbound on port 53530 as the upstream for your "localdomain" and DoT for everything else, and (optionally) point to unbound for "Private reverse DNS servers" too.
wait wait wait pls... you mean i use Unbound with changed Port as Upstream DNS Server in AGH DNS Settings instead of DoT/DoH servers ?
i will tell you what i am doing now...
Upstream DNS Servers - from dns.brahma.world & libredns including its sdns addresses
Bootstrap DNS Servers - DoT Servers also from dns.brahma.world & Libredns including IpV6 Addresses
Fallback DNS Servers .. empty.... and
Private reverse DNS Server as 192.168.1.1:5353(AGH IP:Unbound Port) .

Is my configuration correct or should i fine tune it further ?
 
#4
Quote from: dseven on December 27, 2024, 12:08:00 PM
Quote from: plikmuny on December 27, 2024, 12:03:03 PMIs there a simple Guide on how i can setup Adguardhome + Dnscrypt on Opnsense or it is just Nonsense-Setup and i dont need it when i have AGH ?

If you don't know that you need it, you probably don't need it. AGH can do DoT, if you're worried (for some reason) about your ISP being able to see your DNS queries. dnscrypt seems like unnecessary complication, and likely WILL impact DNS resolution time (negatively).
Ok, then you suggest i use AGH alone with Unbound for local dns resolving ????
can i just use Unbound running on another Port for local resolving and the rest of DNS Queries handled by AGH with DoT/DoH servers instead of using Unbound with its Port as the Upstream/Bootstrap servers ???
#5
Quote from: dseven on December 27, 2024, 11:39:14 AM
Quote from: plikmuny on December 27, 2024, 11:31:21 AMBecause when i use AGH as DHCP server + DNS resolver i have a very low response time of 1ms....
But when i use Opnsense DHCP and AGH as DNS resolver the response time is 8-18ms.... i can see that the website struggles to open in this setup compared to when the AGH alone handles everything... the Webpages opens on the fly and i can feel it...

Again, the DHCP server is NOT involved in individual DNS transactions, so there's some other factor in play here.

AGH provides a DHCP server implementation for cases where the existing DHCP server is not flexible enough to allow pointing clients to specific DNS services, which could be the case with a basic consumer-grade router/gateway, but it is not the case with OPNsense. Using AGH's DHCP server instead of ISC or Kea will not have any effect on DNS response times, provided DHCP is configured to point clients to the same DNS servers.

ok, then i will have to dissect my setup and pinpoint what could be wrong.
Is there a simple Guide on how i can setup Adguardhome + Dnscrypt on Opnsense or it is just Nonsense-Setup and i dont need it when i have AGH ?
#6
Quote from: dseven on December 27, 2024, 09:39:14 AMI've not tried to use dnscrypt, so maybe there's some nuance that I'm not aware of, but....

Unbound is not a DHCP server, it's a DNS resolver.

The DHCP server is not "a hop in the network" - it's a service for centralising IP address assignment and network configuration for devices on your network. It's not involved in DNS transactions, other than telling clients which DNS servers to use.

What are you trying to accomplish with the AGH DHCP server?
Hi, now we are getting there with the right Point... all i am saying is that when AGH has its own DHCP Function and when i am using AGH as main DNS Resolver, why dont i use the both so that the DNS QUery from all the Devices works better and all in one Hand ?
Because when i use AGH as DHCP server + DNS resolver i have a very low response time of 1ms....
But when i use Opnsense DHCP and AGH as DNS resolver the response time is 8-18ms.... i can see that the website struggles to open in this setup compared to when the AGH alone handles everything... the Webpages opens on the fly and i can feel it...
If i use AGH as a DHCP server (i still dont know how todo it) + DNS server and when i disable Unbound completely, what happens to the function of local dns resolver? do i need it or will i miss any important function  or do i have any drawbacks associated with it ?

I am a total noob in Network... so please bear with my silly questions... hoping for a solution..
#7
Quote from: cookiemonster on December 27, 2024, 12:03:31 AMTo add. https://github.com/opnsense/docs/blob/master/source/manual/how-tos/dnscrypt-proxy.rst seems to have instructions on how to get dnscrypt on OPNSense.
Sorry, this post didnt help me much. no matter how many times i override the config manually, once i commit the config and restart the service, the Config gets reset to default ... i dont know why
#8
Quote from: cookiemonster on December 26, 2024, 11:41:05 PM> Is there a way on how i disable the DHCP of Opnsense completely and use AGH DHCP function ?
Yes. I'm not sure why you'd want to do this but just disable it on OPN and enable it on AGH. Did you try that?
Hi, thanks for your reply. i tried that but AGH simply refuses to enable DHCP Option( an error keeps popping up saying its not possible) i think Opnsense doesnt allow that.
any Instructions on how to do it pls?

#9
you mean its not possible to get AGH & Dnscrypt work together in Opnsense ? i could get it working together nicely under Openwrt.
Is there a way on how i disable the DHCP of Opnsense completely and use AGH DHCP function ?
On the Internet all i am seeing is the complex guide on installing AGH+Unbound+Dnscrypt. I dont understand why Unbund is necessary in the middle when AGH can function the same like Unbound?
#10
Hi Forum Members,
i got latest Opnsense installed onto my Qotom q355G4. its running quite well. I also installed AGH with Unbound. But the response time is little bit more aroung 8-10ms.
i saw a guide where it says AGH + Unbound + Dnscrypt. Instead of installing all the 3 Plugins and get it to work which will obviously increase the resolving time, i wanted to try AGH + Dnscrypt Proxy 2 Setup by Bypassing Unbound totally. The DHCP Part works well in AGH, why dont we use it instead of diverting the traffic to Unbound and create one more Hop in the Network ? if it is possible i want to know how do i do it.
I tried to disable Unbound and also tried to enable DHCP Function in AGH, but it refuses to get enabled. I think i need to disable DHCP Function under LAN in Opensense.
I guess AGH can do all the functions of Unbound and it is more efficient. Then why should i use both together instead of using AGH for all purposes ? Is my interpretation of Network in Opnsense works ? if i am wrong pls correct i am not a network guy but i would like to try things. i am learning.

Any proper steps would be higly appreciated.
#11
Hi, is Unbound necessary for AGH to function properly in opnsense ? Or can we just disable unbound and use AGH with it's DHCP function to do the DNS queries??? Will this idea work at all???
#12
One more doubt.....
Is it possible to disable all the DNS services and use only Adguard home and it's DHCP function to work with opnsense? So that I don't have to redirect the port and install unbound or DNScrypt proxy and Adguard home for adblocking ??? If yes should I use DNS interface to only 192.168.1.1(opnsense up) or all and port as 53 ?? I will obviously disable unbound and Dnsmasq etc.. will it work without problems? I won't play any games or any rare services which exclusively depend on port 53. I will also port forward every request on opnsense to go through opnsense up and port 53. Will this setup work ? Atleast such idea worked on openwrt and I was happy with AGH and Openclash working on openwrt.
#13
But if I remember correctly mimugmail had commented about it saying that he will include it in his repo. If that is not the case and if no one got it to work on opnsense, is there any one plugin which does the job of openclash in opnsense?
#14
Hi, I happened to install opnsense today on rpi4b, which I was using to run openwrt with many useful packages like qosify, Adguard home, banip, crowdsec, irqbalance and most importantly Openclash. Everything was running as it should be.
I had an extra qotom q355g4 pc lying around and I thought I could make use of it and started reading on how to install all the useful plugins on opnsense. I somehow succeeded in installing everything correctly but this opnsense plugin is missing.
I am not able to find any guide or success story of openclash installing and running it on opnsense. I can link to this plugin on GitHub( https://github.com/vernesong/OpenClash )
Is it possible to install and get it working on opnsense? If yes please guide me how and I also heard that mimugmail repo included this package but in the actual repo it's not there. I don't have that much skills to build this package for opnsense myself. Hence requesting anyone help here.
Please guide me. I want to use vless/vmess/shadowsocks server so that anyone who uses my network surf internet behind the proxy.

Thanks in advance.
#15
I am very happy that after following the Guide posted here i could able to setup AGH and Unbound successfully.

I have Internet now and the page loading time is insane. i amreally liking it.

But i have one problem, after setting AGH and Unbound as only Resolver i am not able to update the Package... once i click the update it keeps on waiing for the update... What is wrong with my Opnsense ? why cant i update my packages ? i also intend to install other Packages, but without updating how will i do it ? why only the firmware update function is not working but Internet is Working ???

i am clueless, pls help me to solve this problem... Thanks