• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Dec 13, 2016, 10:51 AM

    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
    • T
      Tom Elliott
      last edited by Dec 13, 2016, 11:15 AM

      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 Dec 13, 2016, 1:33 PM

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

        1 Reply Last reply Reply Quote 0
        • W
          Wayne Workman
          last edited by Dec 13, 2016, 2:15 PM

          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/

          T 1 Reply Last reply Dec 13, 2016, 2:22 PM Reply Quote 1
          • T
            Tom Elliott @Wayne Workman
            last edited by Dec 13, 2016, 2:22 PM

            @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 Dec 13, 2016, 2:23 PM Reply Quote 0
            • Q
              Quazz Moderator @Tom Elliott
              last edited by Dec 13, 2016, 2:23 PM

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

              T 1 Reply Last reply Dec 13, 2016, 2:23 PM Reply Quote 0
              • T
                Tom Elliott @Quazz
                last edited by Dec 13, 2016, 2:23 PM

                @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 Dec 14, 2016, 8:40 AM

                  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 Dec 14, 2016, 8:58 AM Reply Quote 0
                  • Q
                    Quazz Moderator @Warrender6
                    last edited by Dec 14, 2016, 8:58 AM

                    @Warrender6 This looks like a very old generated file.

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

                    W 1 Reply Last reply Dec 14, 2016, 9:24 AM Reply Quote 1
                    • W
                      Warrender6 @Quazz
                      last edited by Dec 14, 2016, 9:24 AM

                      @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 Dec 14, 2016, 9:25 AM Reply Quote 0
                      • Q
                        Quazz Moderator @Warrender6
                        last edited by Dec 14, 2016, 9:25 AM

                        @Warrender6

                        No, simply add authoritative; there.

                        W 1 Reply Last reply Dec 14, 2016, 9:33 AM Reply Quote 0
                        • W
                          Warrender6 @Quazz
                          last edited by Dec 14, 2016, 9:33 AM

                          @Quazz
                          Should there be a link?

                          Q W 2 Replies Last reply Dec 14, 2016, 9:34 AM Reply Quote 0
                          • Q
                            Quazz Moderator @Warrender6
                            last edited by Quazz Dec 14, 2016, 3:35 AM Dec 14, 2016, 9:34 AM

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

                            1 Reply Last reply Reply Quote 0
                            • W
                              Wayne Workman @Warrender6
                              last edited by Dec 14, 2016, 1:26 PM

                              @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
                              1 / 1
                              • First post
                                10/14
                                Last post

                              244

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project