-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addon DNS #268
Comments
AFAIK AdGuard add-on isn't taken into account as DNS server for other add-ons. One thing you can try to do is to set the DNS in the Asterisk config files: https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Configuration_res_resolver_unbound ; /config/asterisk/custom/resolver_unbound.conf
[general]
nameserver = 127.0.0.1
resolv = Theoretically it should make Asterisk use your AdGuard home as DNS server. |
Hi @felipecrs, Thank you for your response. Based on the various tests I have conducted, it seems that the module allowing the use of that specific configuration has not been compiled into the Docker image of the addon. In reality, my hope was that it could be implemented in the future so that we can manually insert a custom DNS configuration. |
Hm... that could be the case. PRs are welcome if you happen to figure it out. |
I have just submitted the PR #270 |
Thank you! It will be released tomorrow :) |
@Danny89530 I'm receiving this issue in my logs after #270 released as 4.1.0:
Is there a chance you can take a look? |
Hi @felipecrs, I just performed the upgrade, and I just noticed that the "libunbound-dev" library is not installed on the container. I'm checking it right now... |
Debian was also upgraded from 11 to 12, maybe it has something to do with it as well. |
I have just tried to compile the Dockerfile separately, not considering the addon. Everything is compiled and installed as it should. Now I am compiling the addon, but I can't figure out why it would skip the installation of the library. |
Can you change to libunbound8 just to try? I will take a closer look tomorrow otherwise. |
Unfortunately, nothing has changed. |
Oh, I know what's wrong. You added the dependency on the "build" docker layer. You should in fact add it to the "base" docker layer. Check the apt-get install command before the one you made changes to. |
The build layer is intermediary and it's only used to build asterisk from source. That's why you don't see the dependency after the build. |
|
Hi @TECH7Fox,
I am trying to configure the Asterisk addon in order to set up the trunk for Telecom Italia's VoIP service.
Everything seems to be working, as long as I manually modify the resolv.conf file inside the addon's shell, inserting Telecom's DNS.
On my HomeAssistant instance, I already have the AdGuard addon installed for some time. However, it seems to be completely ignored, as I still see the addon pointing to the server's IP instead of the container's IP.
What am I doing wrong?
Thank you in advance.
The text was updated successfully, but these errors were encountered: