Comments (15)
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.
from asterisk-hass-addons.
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.
from asterisk-hass-addons.
Hm... that could be the case. PRs are welcome if you happen to figure it out.
from asterisk-hass-addons.
I have just submitted the PR #270
I have tested it now without any issues, and I hope you can integrate it soon!
from asterisk-hass-addons.
Thank you! It will be released tomorrow :)
from asterisk-hass-addons.
@Danny89530 I'm receiving this issue in my logs after #270 released as 4.1.0:
ERROR[512]: loader.c:2524 load_modules: Error loading module 'res_resolver_unbound.so': libunbound.so.8: cannot open shared object file: No such file or directory
Is there a chance you can take a look?
from asterisk-hass-addons.
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...
from asterisk-hass-addons.
Debian was also upgraded from 11 to 12, maybe it has something to do with it as well.
from asterisk-hass-addons.
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.
from asterisk-hass-addons.
I'm having trouble understanding what the problem might be.
I just tried running the installation of the library separately using the apt command, but it doesn't seem to be installed according to dpkg. Do you have any ideas?
![immagine](https://private-user-images.githubusercontent.com/3729455/256947136-cba7ab9c-612f-4e4d-984e-1b6af1ed13d8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwNTU0ODIsIm5iZiI6MTcxODA1NTE4MiwicGF0aCI6Ii8zNzI5NDU1LzI1Njk0NzEzNi1jYmE3YWI5Yy02MTJmLTRlNGQtOTg0ZS0xYjZhZjFlZDEzZDgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MTBUMjEzMzAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTdmNjY2YjdhODg1Y2FmYzc0ZDlhZTU2YmZiYWY5OGIxMGJlMDk1NTliMmNmN2JkMTAzZWUxYWY3Yzg0MDI0NCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.IUCaEzK1noyY_rmxTrAJgTmcn0hWVJPHwHoaOTcMT4k)
from asterisk-hass-addons.
Can you change to libunbound8 just to try?
I will take a closer look tomorrow otherwise.
from asterisk-hass-addons.
Unfortunately, nothing has changed.
Even installing libunbound8 directly, it doesn't show up on dpkg during startup.
I am quite puzzled..
from asterisk-hass-addons.
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.
from asterisk-hass-addons.
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.
from asterisk-hass-addons.
- #275 should fix this issue
from asterisk-hass-addons.
Related Issues (20)
- Failed to Install add-on HOT 3
- Revert temp fix for build HOT 3
- Setup a trunk for outbound calls HOT 18
- Add TFTPD option HOT 10
- No audio when outside my LAN HOT 2
- /config/asterisk/default/pjsip_custom.conf is purged at addon restart HOT 4
- stuff from custom does not make it to default HOT 5
- Asterisk GUI HOT 4
- Help needed: Install addon with docker-compose (without supervisor) HOT 5
- BUG: Can't edit the allowed networks for Manager login HOT 31
- BUG: Can't edit the allowed networks for Manager login HOT 1
- rtsp-app not available on Pi builds HOT 10
- ARM support for app_rtsp_sip HOT 4
- Addon watchdog HOT 3
- No conifg.json file in ~/config/ HOT 10
- Suddenly no longer starting HOT 3
- Use `friendly_name` instead of `id` as the caller id HOT 3
- Cannot start in container mode HOT 2
- Doorbell parking extension does not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asterisk-hass-addons.