How to reset DNS for JSS?

tatiang
New Contributor

I can't seem to find this anywhere... how do I reset the IP Address/DNS
for the JSS? I originally setup the JSS to use a DNS Name, but I now need
to switch it back to an IP Address for use with netbooting.

Thanks,



Tatian Greenleaf
Associate Director of Technology
Saint Mark's School
(415) 472-8000 x1014

9 REPLIES 9

ernstcs
Contributor III

That's the thing though...the "Clients" are busted so you have to update the /etc/jamf.conf file on all the clients.

If you use Casper (Remote) to perform this command on anything you can currently talk to this will fix the client piece.

As far as when a new machine gets imaged then you have to do what Thomas suggests as the etc file gets written with the same server as the Casper (Imaging) application uses.

Craig E

Anonymous
Not applicable

Hello,

I just want to clarify what it is you are trying to accomplish. The JAMF configuration file (/etc/jamf.conf) on the client is only used for checking in to the JSS (ie for updating the client's IP and checking for Policies etc), and does not affect NetBoot. In fact, we recommend using a fully qualified DNS name for this.

Your NetBoot server's IP address should be entered in the JSS > Management tab > NetBoot Servers. Once set there, when you tell your clients to NetBoot to a specific server using Casper Remote or a Policy, it will use that IP address.

Please let me know if I am understanding the issue correctly, and if the above will resolve the problem.

Thanks,

Josh

............................................................................
Joshua Holland
Sr. Systems Engineer
............................................................................
JAMF Software
1011 Washington Ave S. #350
Minneapolis, MN 55415
............................................................................
Office (612) 605-6625
Fax (612) 332-9054
............................................................................
http://www.jamfsoftware.com

joelande
Contributor

I can't answer your specific question (we have only been running Casper
"Tatian Greenleaf" <tgreenleaf at saintmarksschool.org> on August 11, 2008 at 1:32 PM -0500 wrote:
for 10 days, and haven't had our "JumpStart" yet),
but we NetBoot with JSS's DNS name without any problems.

''''''' ^-O-O-^
+----oOO----(_)--------------+
| Joel Anderson |
| Director of Technology |
| Hibbing Public Schools |
| www.hibbing.k12.mn.us | +----------------------oOO---+ ||| || || ooO Ooo

tlarkin
Honored Contributor

When you create your Netboot installer/image it asks you to point it to your casper application. Before you create if, if you hold down the option key and open up Casper.app it will ask you for the JSS info. You can simply put an IP address in there instead of DNS. Or, if you are feeling tricky your client machines store the JSS info in /etc/jamf.conf so you can edit that holds the JSS info.

For example, since I am at my iMac right this moment, I will show you what it looks like:

tlarkin$ cat /etc/jamf.conf ####
#### jamf.conf -- JAMF Software Configuration File
#### this file will allow Recon, Casper and the jamf command line #### application to locate the JSS (JAMF Software Server) they need
#### to communicate with

serverAddress = xs001-casper.kckps.org
serverPort = 9006
securePort = 8443
serverPath = ssl = true
vncPort = 5999

Where it says "server address" you can just put in your IP instead of DNS, and then do a mass copy of that file via ARD admin or a casper policy or whatever.

I think it would be easier to build the netboot image though the way I first explained it.

Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
cell: 913-449-7589
office: 913-627-0351

tlarkin
Honored Contributor

I assume you are netbooting behind NAT? I just did the same thing and since I didn't feel like forwarding a bunch of ports for DNS to go through NAT, I just decided to do that same thing you did and do it by IP address.

Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
cell: 913-449-7589
office: 913-627-0351

tatiang
New Contributor

Am I right in assuming that will only fix it on that individual client? I'm looking for a way at the server level, since all of my clients are
trying to connect to the DNS Name and timing out.

Tatian

ernstcs
Contributor III

You can run the following command on the clients:

/usr/sbin/jamf createConf -server <IP> -target '/Volumes/Macintosh HD' -port 9006 -securePort 8443 -ssl

Check: /usr/sbin/jamf help createConf

Craig E

joelande
Contributor

Yes, and using the FQDN works just fine
"Thomas Larkin" <tlarki at kckps.org> on August 11, 2008 at 1:46 PM -0500 wrote:

''''''' ^-O-O-^
+----oOO----(_)--------------+
| Joel Anderson |
| Director of Technology |
| Hibbing Public Schools |
| www.hibbing.k12.mn.us | +----------------------oOO---+ ||| || || ooO Ooo

tlarkin
Honored Contributor

If you are netbooting behind NAT, and want to use an IP instead of DNS
just recreate the netboot image/installer and configure the casper app
to look at the IP instead of the DNS, or modify the /etc/jamf.conf file
like I had mentioned earlier.

Hope that helps you,

Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
cell: 913-449-7589
office: 913-627-0351

"Tatian Greenleaf" <tgreenleaf at saintmarksschool.org> 08/11/08 1:51

PM >>>
Am I right in assuming that will only fix it on that individual client? I'm looking for a way at the server level, since all of my clients are
trying to connect to the DNS Name and timing out.

Tatian

"Ernst, Craig S." <ERNSTCS at uwec.edu> writes: You can run the following command on the clients: /usr/sbin/jamf createConf –server <IP> -target ‘/Volumes/Macintosh HD’ -porrt 9006 –securePort 8443 –ssl Check: /usr/sbin/jamf help createConf Craig E