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

    Clients get wrong DNS

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    14
    2.2k
    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.
    • W
      Warrender6
      last edited by

      Server
      • FOG Version:6054
      • OS: Ubuntu 14.04
      Client
      • Service Version:
      • OS: Windows
      Description

      Hello,
      I changed the DNS Server from 172.28.0.248 to 10.66.109.10 in /etc/dhcp/dhcpd.conf on the Fog Server (Fog is DHCP Server as well) and restarted the services and the server. Unfortunately the clients get the old DNS.
      On an other fog server (0.32 Ubuntu 12.04) I did the same and everything works fine.
      Can you help me please?

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

        To me this sounds like you have multiple DHCP? I don’t know.

        Can you show us a copy of your /etc/dhcp/dhcpd.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

        1 Reply Last reply Reply Quote 1
        • Q
          Quazz Moderator
          last edited by

          Afaik, clients will retain old information on Windows until they checkin for a new lease.

          1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman
            last edited by

            Go over to a computer on that subnet and (assuming windows) run this command: ipconfig /release && ipconfig /renew and then see what DNS address it’s using.

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            Tom ElliottT 1 Reply Last reply Reply Quote 1
            • Tom ElliottT
              Tom Elliott @Wayne Workman
              last edited by

              @Wayne-Workman I think another form to ensure all is routing properly would also work:

              ipconfig /flushdns

              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

              Q 1 Reply Last reply Reply Quote 0
              • Q
                Quazz Moderator @Tom Elliott
                last edited by

                @Tom-Elliott This would work only if the DHCP information is correct, I believe.

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

                  @Quazz That’s why it’s suggested as an “additional” step.

                  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 0
                  • W
                    Warrender6
                    last edited by

                    Thanks for your help!
                    Here is the config.0_1481704727175_upload-2aa9dde8-be7a-4921-bb17-8efad6b96cd2

                    The clients are not the problem. I run these commands before I started this thread.

                    Q 1 Reply Last reply Reply Quote 0
                    • Q
                      Quazz Moderator @Warrender6
                      last edited by

                      @Warrender6 This looks like a very old generated file.

                      At any rate, try adding authoritative; before the subnet declaration.

                      W 1 Reply Last reply Reply Quote 1
                      • W
                        Warrender6 @Quazz
                        last edited by

                        @Quazz
                        Thanks!
                        I´m not completely sure what you mean.
                        Should i edit the file like this?

                        …
                        next-server 172.28.0.230;
                        option domain-name-server 10.66.109.10;

                        subnet…

                        Q 1 Reply Last reply Reply Quote 0
                        • Q
                          Quazz Moderator @Warrender6
                          last edited by

                          @Warrender6

                          No, simply add authoritative; there.

                          W 1 Reply Last reply Reply Quote 0
                          • W
                            Warrender6 @Quazz
                            last edited by

                            @Quazz
                            Should there be a link?

                            Q Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                            • Q
                              Quazz Moderator @Warrender6
                              last edited by Quazz

                              @Warrender6 …a link? No, it’s a DHCP option…

                              1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman @Warrender6
                                last edited by

                                @Warrender6 Here’s an example. You should just re-write this whole configuration. ISC-DHCP can support both BIOS and UEFI at the same time, you don’t need to go in there commenting and uncommenting filename lines.
                                https://wiki.fogproject.org/wiki/index.php?title=BIOS_and_UEFI_Co-Existence#Example_2

                                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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post

                                214

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project