ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    FOG Server IP Keeps Changing in DNS!

    Scheduled Pinned Locked Moved IT Discussion
    42 Posts 8 Posters 5.4k Views
    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.
    • S
      Shuey @scottalanmiller
      last edited by

      @scottalanmiller Pretty much, yep. I say "pretty much" because I'll also re-clarify that the entry in DNS is accurate for a couple of days, and then it suddenly changes to the FOG server's old DHCP address.

      Here's a recap of the server's DNS record:

      1. The Ubuntu server picked up a DHCP address when the server was first setup (prior to FOG getting installed and configured).
      2. That address then appeared in DNS as I would expect, but of course was the wrong IP (since it was not statically assigned yet).
      3. I configured the Ubuntu server with a static IP, then I updated the DNS record, making it static instead of DHCP assigned (as well as the PTR), then installed and configured FOG (using the same static IP of course).
      4. I thought everything was fine, but a couple days later I noticed that I couldn't ping the FOG server. I checked DNS and noticed that the static entry I had configured had changed to the original DHCP address that the Ubuntu server had picked up....
      1 Reply Last reply Reply Quote 0
      • black3dynamiteB
        black3dynamite @Shuey
        last edited by

        @Shuey said in FOG Server IP Keeps Changing in DNS!:

        @black3dynamite "Nonsecure and secure"

        Have you already try setting it to secure only and then delete dns record?

        S 1 Reply Last reply Reply Quote 0
        • black3dynamiteB
          black3dynamite
          last edited by

          Your Ubuntu Server DNS setting is probably configured with your DNS Server IP.

          S 1 Reply Last reply Reply Quote 0
          • S
            Shuey @black3dynamite
            last edited by

            @black3dynamite Nope :-/... DNS in our environment has always been configured for "nonsecure and secure" and I've never changed it because I'm not familiar with how to properly set it to "secure only", nor am I familiar with what kind of repercussions there would be :-S...

            1 Reply Last reply Reply Quote 0
            • S
              Shuey @black3dynamite
              last edited by

              @black3dynamite I'm trying to check the DNS settings right now, but oddly enough, I can't login anymore... (I just rebooted the server and after it came back up, I'm not able to login to the CLI). I can still login to the web console no problem, but the CLI creds are not working O_o...

              DustinB3403D 1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403 @Shuey
                last edited by

                @Shuey said in FOG Server IP Keeps Changing in DNS!:

                @black3dynamite I'm trying to check the DNS settings right now, but oddly enough, I can't login anymore... (I just rebooted the server and after it came back up, I'm not able to login to the CLI). I can still login to the web console no problem, but the CLI creds are not working O_o...

                The issue is clearly your DNS server then 🙂

                S 1 Reply Last reply Reply Quote 0
                • S
                  Shuey @DustinB3403
                  last edited by

                  @DustinB3403 Now I'm crazy confused... what does me not being able to login to the CLI have to do with my AD DNS? O_o

                  DustinB3403D 1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403 @Shuey
                    last edited by

                    @Shuey said in FOG Server IP Keeps Changing in DNS!:

                    @DustinB3403 Now I'm crazy confused... what does me not being able to login to the CLI have to do with my AD DNS? O_o

                    You said you weren't able to access the server, didn't you?

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Shuey @DustinB3403
                      last edited by

                      @DustinB3403 No... I think you should slow down and read what I say before you reply, lol. I said "I can still login to the web console no problem"... I'm NOT able to login to the CLI (because my password is failing, not because I can't GET to the CLI :-/...

                      DustinB3403D 1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403 @Shuey
                        last edited by

                        @Shuey said in FOG Server IP Keeps Changing in DNS!:

                        @DustinB3403 No... I think you should slow down and read what I say before you reply, lol. I said "I can still login to the web console no problem"... I'm NOT able to login to the CLI (because my password is failing, not because I can't GET to the CLI :-/...

                        Could be, I'm not really paying attention to ML atm.

                        1 Reply Last reply Reply Quote 0
                        • S
                          Shuey
                          last edited by

                          OK, so I gained access to the CLI again. There doesn't appear to be any DNS servers configured for my Ubuntu server to talk to (even though it can get out to the Internet for updates without any problem, because it at least has a gateway configured).

                          This seems to rule out black3dynamite's theory that my Ubuntu server DNS is configured with my DNS server IP...

                          Where else should I check for these settings, besides in /etc/network/interfaces ??

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @Shuey
                            last edited by

                            @Shuey said in FOG Server IP Keeps Changing in DNS!:

                            OK, so I gained access to the CLI again. There doesn't appear to be any DNS servers configured for my Ubuntu server to talk to (even though it can get out to the Internet for updates without any problem, because it at least has a gateway configured).

                            This seems to rule out black3dynamite's theory that my Ubuntu server DNS is configured with my DNS server IP...

                            Where else should I check for these settings, besides in /etc/network/interfaces ??

                            DNS is shown in the file /etc/resolv.conf

                            S 1 Reply Last reply Reply Quote 2
                            • scottalanmillerS
                              scottalanmiller
                              last edited by

                              If you do an nslookup command, it will show you which DNS server it queried at that time, as well.

                              1 Reply Last reply Reply Quote 3
                              • S
                                Shuey @scottalanmiller
                                last edited by

                                @scottalanmiller I cat'd my /etc/resolv.conf file and there's nothing in it (except for the default two comment lines).

                                I went ahead and added a DNS server and search (nothing was configured previously and I was unable to ping anything by name) and nslookups are working now.

                                I've gone so far down this rabbit hole since yesterday that I'm asking myself out of confusion now: "What again does all this have to do with the fact that our AD DNS was changing?" 😄 (especially since I didn't even have DNS configured on the Ubuntu server before this morning)

                                scottalanmillerS travisdh1T 2 Replies Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @Shuey
                                  last edited by

                                  @Shuey said in FOG Server IP Keeps Changing in DNS!:

                                  : "What again does all this have to do with the fact that our AD DNS was changing?" 😄 (especially since I didn't even have DNS configured on the Ubuntu server before this morning)

                                  I have no idea how or why we are looking at that other than it just needs to be fixed. The DNS settings on the Ubuntu box are definitely not related to the DNS Server entries.

                                  S 1 Reply Last reply Reply Quote 1
                                  • S
                                    Shuey @scottalanmiller
                                    last edited by Shuey

                                    @scottalanmiller Cool, at least it's one extra thing that was caught and fixed : )

                                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller @Shuey
                                      last edited by

                                      @Shuey said in FOG Server IP Keeps Changing in DNS!:

                                      @scottalanmiller Cool, at least it's one extra thing that was caught and fixed : )

                                      Yeah, might have led to other problems later.

                                      1 Reply Last reply Reply Quote 1
                                      • travisdh1T
                                        travisdh1 @Shuey
                                        last edited by

                                        @Shuey said in FOG Server IP Keeps Changing in DNS!:

                                        @scottalanmiller I cat'd my /etc/resolv.conf file and there's nothing in it (except for the default two comment lines).

                                        I went ahead and added a DNS server and search (nothing was configured previously and I was unable to ping anything by name) and nslookups are working now.

                                        I've gone so far down this rabbit hole since yesterday that I'm asking myself out of confusion now: "What again does all this have to do with the fact that our AD DNS was changing?" 😄 (especially since I didn't even have DNS configured on the Ubuntu server before this morning)

                                        Do you know if you're using network-manager or just networking? Sounds like the proper DNS config settings are missing. Why this STILL happens annoys me to no end. Anyway, fixes.

                                        Network Manager

                                        nm-tui
                                        

                                        and edit the network connection.

                                        Networking

                                        nano /etc/network/interfaces
                                        

                                        Add the following line with your preferred DNS server IP addresses

                                        dns-nameservers 8.8.8.8, 8.8.4.4
                                        

                                        That's all off the top of my head, so take it with the intended salt.

                                        1 Reply Last reply Reply Quote 1
                                        • S
                                          Shuey
                                          last edited by

                                          Well, after all the things I've done since starting this thread, the IP is holding steady as the correct static IP it should be. I'll double-check one more time on Monday morning, but I have a feeling it's good to go now.

                                          1 Reply Last reply Reply Quote 1
                                          • DashrenderD
                                            Dashrender
                                            last edited by

                                            Windows DHCP can be setup to register non windows clients with DNS. So if there is an active DHCP lease still in place that might explain why the DHCP IP keeps coming back to DNS.

                                            When you "create" your manual DNS entry are you deleting the old one first? Or just changing the original? If you are changing, that might explain why DHCP is able to change it back
                                            I would not expect a manual DNS creation to be changeable by normal MS automation.

                                            S 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post