• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Unable to resolve hostname

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    16
    10.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Gilberto FerrazG
      Gilberto Ferraz
      last edited by

      Hello !
      I use the fog1.2.0 in my work, I have inventoried nearly 200 more machines.

      can upload and download images and everything works fine, I have some small problems like the image below that I’m not understand why not give the error “Unable to resolve hostname” Anyone know where is the problem?error_fog.png

      ch3iC 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Windows Firewall, DNS rules, anything really can cause this.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 1
        • Gilberto FerrazG
          Gilberto Ferraz
          last edited by

          @Tom-Elliott said:

          Windows Firewall, DNS rules, anything really can cause this.

          Hello Tom-Elliott!

          But at least I noticed all the fog 1.2.0 capabilities work well.

          If you can not resolve this problem seems the fog works 100%?

          1 Reply Last reply Reply Quote 0
          • ch3iC
            ch3i Moderator @Gilberto Ferraz
            last edited by

            @Gilberto-Ferraz Hi, not sure but I think you have to specify DNS suffixes on your FOG server.

            Gilberto FerrazG Tom ElliottT 2 Replies Last reply Reply Quote 0
            • Gilberto FerrazG
              Gilberto Ferraz @ch3i
              last edited by

              Hello, and where can I do this?

              ch3iC 1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott @ch3i
                last edited by

                @ch3i Or make sure the DNS Resolver is a part of the named/search of the /etc/resolv.conf file.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                ch3iC 1 Reply Last reply Reply Quote 0
                • ch3iC
                  ch3i Moderator @Tom Elliott
                  last edited by

                  @Tom-Elliott said:

                  @ch3i Or make sure the DNS Resolver is a part of the named/search of the /etc/resolv.conf file.

                  It was what I wanted to say lol

                  1 Reply Last reply Reply Quote 0
                  • Gilberto FerrazG
                    Gilberto Ferraz
                    last edited by

                    hello i change my /etc/resolv.conf to my DNS server.

                    i restart te fog but the problem has not been resolved.

                    1 Reply Last reply Reply Quote 0
                    • ch3iC
                      ch3i Moderator @Gilberto Ferraz
                      last edited by

                      @Gilberto-Ferraz said:

                      Hello, and where can I do this?

                      Ok, in my debian server I have do that :

                      apt-get install resolvconf
                      vi /etc/network/interfaces
                      

                      Add those lines to my interfaces file :

                      dns-nameserver xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy
                      dns-search domain1.com
                      dns-search domain2.com
                      

                      Save file and run (it’s to update /etc/resolv.conf file):

                      resolvconf -u
                      

                      Content of resolv.conf file :

                      # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
                      #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
                      nameserver xxx.xxx.xxx.xxx
                      nameserver yyy.yyy.yyy.yyy
                      search domain1.com
                      domain2.com
                      

                      Now ping in FOG is functional.

                      1 Reply Last reply Reply Quote 0
                      • Gilberto FerrazG
                        Gilberto Ferraz
                        last edited by

                        yes my machine can ping out![Captura de ecrã 2015-07-9, às 15.04.35.png](uploading 100%)

                        1 Reply Last reply Reply Quote 0
                        • Gilberto FerrazG
                          Gilberto Ferraz
                          last edited by

                          ping

                          ping.png

                          ch3iC 1 Reply Last reply Reply Quote 0
                          • ch3iC
                            ch3i Moderator @Gilberto Ferraz
                            last edited by

                            @Gilberto-Ferraz said:

                            ping

                            ping.png

                            Can you try to ping a host with shortname and FQDN like that :

                            ping 74_armazem
                            
                            ping 74_armazem.yourdomain.com
                            
                            Gilberto FerrazG 1 Reply Last reply Reply Quote 0
                            • Gilberto FerrazG
                              Gilberto Ferraz @ch3i
                              last edited by

                              @ch3i

                              I have a machine with attached HP35076 hostname is a machine with WIN 7 I can ping the IP of this machine. but I can not ping the hostname.

                              Maybe the problem is in my pfsense or own firewall Win 7.

                              if I can ping out of my fog to www.google.com for example the problem may be in the firewall of my machines windows 7 or even pfsense that makes the management of all of my networks.

                              ch3iC 1 Reply Last reply Reply Quote 0
                              • ch3iC
                                ch3i Moderator @Gilberto Ferraz
                                last edited by

                                @Gilberto-Ferraz said:

                                @ch3i

                                I have a machine with attached HP35076 hostname is a machine with WIN 7 I can ping the IP of this machine. but I can not ping the hostname.

                                Maybe the problem is in my pfsense or own firewall Win 7.

                                if I can ping out of my fog to www.google.com for example the problem may be in the firewall of my machines windows 7 or even pfsense that makes the management of all of my networks.

                                It’s not a FW problem if you can ping the IP.
                                It’s a DNS problem, have you a domain ? have you a DNS server configured in your machines ? If yes provide me those informations.

                                1 Reply Last reply Reply Quote 0
                                • Gilberto FerrazG
                                  Gilberto Ferraz
                                  last edited by

                                  i disable FW on machine win7 and i can ping the ip address but not !ping2.png

                                  1 Reply Last reply Reply Quote 0
                                  • cmlC
                                    cml Moderator
                                    last edited by

                                    Are your machines part of a domain? Try adding the domain to the end.

                                    My domain is test.local in order to ping Laptop-2 I have to run:

                                    
                                    root@Fog:~# ping Laptop-2.test.local
                                    PING Laptop-2.test.local (10.1.111.254) 56(84) bytes of data.
                                    64 bytes from 10.1.111.254: icmp_req=1 ttl=127 time=138 ms
                                    64 bytes from 10.1.111.254: icmp_req=2 ttl=127 time=180 ms
                                    64 bytes from 10.1.111.254: icmp_req=3 ttl=127 time=1.54 ms
                                    
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • 1 / 1
                                    • First post
                                      Last post

                                    163

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project