Replies: 11 comments 1 reply
-
I did a
It's however all locally on the box itself ;-( |
Beta Was this translation helpful? Give feedback.
-
Simply change the hostname is possible by the AVM-webif. But it changes also many other things like AP-name, Mediaserver etc and Freetz does it not. I'm using since a long time a hostname with dots with is only possible by ar7 editiong as ctlmgr_ctl deny updates with a dot.. |
Beta Was this translation helpful? Give feedback.
-
I don't mind about the mediaserver, nas and myfritz. I don't use them. The caveat of not being able to resolve any other 3cx.eu domain is the reason I'm dismissing it. BTW box is a valid TLD and the name fritz.box is not registered there.
|
Beta Was this translation helpful? Give feedback.
-
my hostname is "device.xxx" and when i ping "other" it resolves "other.xxx". So im not sure (understand) what you problem is
that is a domain |
Beta Was this translation helpful? Give feedback.
-
It is not my goal to rename the domain. If I choose the domain frater.3cx.eu at the 3CX-company they will make sure it resolves to the WAN-ip of the Fritzbox' WAN-connection (through DDNS). The only way I found to make the Fritzbox' DNS server to do this is by changing the CONFIG_HOSTNAME to 3cx.eu That would be all fine, if it would still be possible to resolve other valid 3cx.eu addresses. A host override is a normal option of dnsmasq and I used it before on other systems. The Fritzboxes have a lot of benefits, but also some downsides. One of them is DNS and the other is the firewall. |
Beta Was this translation helpful? Give feedback.
-
I have no idea how to do this with only AVM functions - except to maintain on every(!) device a hosts file with a special entry for your 3cx-hostname. But to prevent this a dns server was developed :) |
Beta Was this translation helpful? Give feedback.
-
...except to maintain on every(!) device a hosts file with a special entry for your 3cx-hostname. But to prevent this a dns server was developed Even that would not be possible. |
Beta Was this translation helpful? Give feedback.
-
I merely hoped someone knew of some way. Somehow the domain 3cx.nl went obsolete several years ago. |
Beta Was this translation helpful? Give feedback.
-
What's the consensus regarding dnsmasq? |
Beta Was this translation helpful? Give feedback.
-
If you dont have a reason by yourself to use it, you dont need it :) |
Beta Was this translation helpful? Give feedback.
-
I don't understand... The reason would be the hostname override. I don't think I will go that route. I will probably select another router for these setups. |
Beta Was this translation helpful? Give feedback.
-
3CX has deprecated the local login with an IP.
They want the lan phone devices to login to the 3cx server with the same FQDN that's used for logging in from the Internet.
For this you need split-DNS or a host override
Alas the FB does not support this.
I almost thought I could abuse CONFIG_HOSTNAME
Well, actually I can...
if ctlmgr and multid run with the variable CONFIG_HOSTNAME set, it will assign all hosts a FQDN within that domain.
I still need to find out the most elegant way to set that variable.
I thought I had my proof of concept, but needed to do another test... a test that failed.
It can't resolve any "real" 3cx.eu addresses anymore as they are all searched locally.
Let's pretend that acme.3cx.eu is a valid foreign 3CX-system.
I could still use it, but it's extremely messy if people come in with their smartphone using their own 3cx.eu FQDN.
That's not how a host-override would work. It would still resolve the other FQDN's of 3cx.eu
On the other hand those people shouldn't be on that LAN anyway.
Any other thoughts?
I could of course switch to dnsmasq which I never did on a Fritz!box.
Does it work good?
I have some time before I am forced to use split-DNS for 3CX.
It's a shame it isn't supported natively.
Someone tried this before and already knows an elegant way to set the hostname?
I've also read this https://www.ip-phone-forum.de/threads/kann-dns-domain-nicht-%C3%A4ndern.285020/
but couldn't get it to work.
It probably doesn't work anymore with newer versions and it now only supports toplevels (
without embedded dots
) which makes it completely useless.Beta Was this translation helpful? Give feedback.
All reactions