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

Multiple DNS Addresses in FOG_PXE_IMAGE_DNSADDRESS

Scheduled Pinned Locked Moved
General
2
5
1.6k
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.
  • M
    mpinnow
    last edited by Feb 2, 2016, 8:41 AM

    Hi there,

    is there a way to use multiple DNS-Addresses in the FOG_PXE_IMAGE_DNSADDRESS. I have i FOG Server running, using 2 NICs on 2 different networks. There is no link between them despite of the FOG Server. To use the FOG server on both networks I set up an BIND DNS server which translates the hostname of the FOG Server to different IPs depending on the subnet asking. Problem now is, that on the first network the DNS/FOG Server address is the 192.168.0.1, on the second network its 192.168.1.1. FOG now starts the Job, but when the next access to the TFTP is required it won’t find it. Now it would be perfekt to be able to use 2 DNS Server addresses so that the one beloning to the used network and NIC answers the request and gives me the right IP address fot the TFTP.

    Thanx for your help,

    Marcel

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Feb 2, 2016, 11:56 AM

      What version of fog?

      Currently, no there is no way, but we also no longer need this field as the init’s will get their DNS Servers from the DHCP request as well.

      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
      • M
        mpinnow
        last edited by Feb 2, 2016, 12:39 PM

        Hi Tom,

        thank you for your reply. We’re running fog 1.2.0.

        Maybe I’m looking at the wrong point trying to fix the error I currently experience. Situation atm is, when i try to do a Hardware Inventory task on a client i get as far as:

        Attempting to register host…

        then it starts to scroll down the screen with one line per second until the screen is all black. I changed the iFOG_USE_SLOPPY_NAME_LOOKUPS to “no” (no tick set) and defined the needed dns on FOG_PXE_IMAGE_DNSADDRESS to 192.168.1.1 and it worked. Prolem now is, that i would need a second dns entry for the other network on the other NIC. Do you know any workaround, or why it fails to register the host without the dns entry? My DHCP Server supplys a DNS address when assigning the IP to the client.

        T 1 Reply Last reply Feb 2, 2016, 12:45 PM Reply Quote 0
        • T
          Tom Elliott @mpinnow
          last edited by Feb 2, 2016, 12:45 PM

          @mpinnow 1.2.0 did not have an auto recognizing dns system so the dns records were always added via the FOG_PXE_IMAGE_DNSADDRESS. This is fixed in trunk and it automates this issue altogether.

          Are you calling the storage/server via hostname in the configurations? I can only think that it’s failing because it can’t resolve the hostnames if that’s the case.

          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

          M 1 Reply Last reply Feb 2, 2016, 1:47 PM Reply Quote 0
          • M
            mpinnow @Tom Elliott
            last edited by Feb 2, 2016, 1:47 PM

            @Tom-Elliott

            Ok so you would recommend switching to the latest version from the trunk of the repo? I will try that tomorrow.

            Yes, I exchanged all the IP addresses with hostnames because my FOG server has different IP addresses depending on the NIC the client is connected to. I think it will work once the dns system works properly with the dns server address provided by the DHCP server.

            I keep you updated when I tried with the latest version.

            Thanks
            Marcel

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

            201

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project