Coder Social home page Coder Social logo

Comments (6)

ko3n avatar ko3n commented on June 8, 2024 1

Great, yes that worked. For some reason it did not show up in Ventura 13.1 but after updating to 13.3 it worked as you described.
Documenting this could be helpful.
Thank you for your swift responses!

from samba.

MarvAmBass avatar MarvAmBass commented on June 8, 2024 1

added docu

from samba.

MarvAmBass avatar MarvAmBass commented on June 8, 2024

thanks for raising the issue - .local is the default domain extension for zeroconf (avahi is a zeroconf implementation)
https://en.wikipedia.org/wiki/Zero-configuration_networking#DNS-based_service_discovery

but maybe there still is a bug and I need to transform a FQDN into a HOSTNAME

is there a way this issue is visible in reality? or is it just a strange/broken avahi config?
Note that AVAHI_NAME is supposed to be a hostname, not a FQDN

do you have an (maybe anonymized, reducted) example config and error message

from samba.

ko3n avatar ko3n commented on June 8, 2024

Understood regarding .local and zeroconf, I did indeed fill out a FQDN for AVAHI_NAME and this resulted in FQDN.local being broadcasted by avahi.

As I use FQDN inside the local network I am trying to get Avahi to broadcast the FQDN for time machine backups so that these backups will work from everywhere in my network.

Do you know of a way to get Avahi in your main docker image to broadcast an FQDN? I suppose this is an edge case, but for the sake of simplicity I rather not use an external Avahi server.
According to this blog entry: https://www.technomancer.com/archives/633 this should be possible.

from samba.

MarvAmBass avatar MarvAmBass commented on June 8, 2024

ahh I get what you want to do, and I also had this problem, but there is a nice way around this.

usually your mac displays your avahi server in finder, you can click on it, and configure it as timemachine backup storage - this will lead to the .local address which is being used.

but in some cases this doesn;t make sense - for example, multiple seperated networks (zeroconf only supports one network) or vpn access.
so even if your mac is able to connect to the server it doesn't know that it's the server which was previously configured using the zeroconf name.

the best way to work around this (I always to this on all my macs) use the finder and connect to server function. here you can use an IP or DNS name to connect to the server. Just establish the connection

now you openup timemachine and configure your timemachine to use the server you just configured. so the one with the FQDN or IP.
it should even detect if this server already contains a backup of you machine and continues using it.

after you configured it this way, timemachine will check if the machine is availbale and start it's backup process, even if you're connected to the server via vpn etc.

hope this helps :)

summary, I think you don't want zeroconf at all at your scenario - so make an explicit configuration for your network setup :)
zeroconf is simple and for everyday consumers without special needs regarding their networks :)

let me now if this helps, I should document this in my repo - might be helpful

from samba.

MarvAmBass avatar MarvAmBass commented on June 8, 2024

TODO for @MarvAmBass -> document this

I'll close it as soon as this is done :) so I won't forget

from samba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.