Menu

Partially works - need advise

Help
2006-08-30
2013-04-11
  • Karsten Jeppesen

    I compiled and installed this tmdns and now trying to work it.
    Plaform is a PC running Debian 31r2

    My network has DNS running and the machine in question has the IP address 172.22.2.44. This machine has named running and also apache.

    ----- /etc/tmdns.services -----
    tcp 80 http 0 0 IMWL
    ----- ===== -----

    I am able to get to the point where a connected PC will enter this entry into the Bonjour menu.
    But if I click on the link, then nothing happens.

    I would really like to get this running - please advise

     
    • Karsten Jeppesen

      Luckily I can answer this myself - lol.

      The issue is that a ptr record is needed to point to myself:

      ----- /etc/tmdns.services ----- 
      tcp 80 http 0 0 IMWL 
      ptr  172.22.2.44
      ----- ===== -----

      then it works

       
      • Freek Dijkstra

        Freek Dijkstra - 2006-08-30

        You may also want to add a TXT record, like this:

        ----- /etc/tmdns.services -----
        tcp 80 http 0 0 IMWL
        ptr 172.22.2.44
        txt path=/
        ----- ===== -----

        The PTR can also be a full name instead of a IP address. The "path" in the TXT record is defined in http://www.dns-sd.org/ServiceTypes.html

         
    • Freek Dijkstra

      Freek Dijkstra - 2006-08-30

      tmdns is no longer actively maintained. Most people use the mDNSResponder software available from http://developer.apple.com/opensource/internet/bonjour.html.

      If you like to get this to work, I need more information. Could you manually check if tmdns is really announcing the information correctly?

      You can use the Debian package "mdns-scan", which is a bit crude but does it's job. You should see something like:
      % mdns-scan                                                                                 
      + IMWL._http._tcp.local
      (and perhaps more lines; press control-C to abort).

      If you see this, you can check if there is an SRV and a TXT record associated with IMWL._http._tcp.local. For example, try:
      % dig -p 5353 ANY IMWL._http._tcp.local @224.0.0.251
      Again a bit crude, since dig uses unicast instead of multicast, but it does the job. You should see an "ANSWER SECTION" containing:
      IMWL._http._tcp.local. 10  IN  SRV  0 0 80 MyComputer.local.
      IMWL._http._tcp.local. 10  IN  TXT  "path=/dir/"

      Now, the final test if you can really reach this service. Based on the output of dig, go to the webpage: http://MyComputer.local./dir/

      There are better (GUI based) debugging tools, but these are the ones quickly available as Debian package as far as I know.

      Regards,
      Freek

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.