Solved

Auto assign DNS

Posted on 1998-02-24
3
224 Views
Last Modified: 2011-08-18
When a user logs into my dialin PC, they are automatically assigned a gateway address.
I want to do the same with the DNS server(s) so I don't have to go through the installation of setting this
part up.

Using linux 2.0.33 and pppd with shadowd password with AUTOPPP installed.
0
Comment
Question by:Q010797
  • 2
3 Comments
 
LVL 1

Expert Comment

by:dirge
ID: 1636410
Please clarify your question. Do you wish to

1. automatically assign a hostname to your users when they login?
2. have your server set up its gateway when it boots up?

or something else? More details please...


0
 
LVL 1

Author Comment

by:Q010797
ID: 1636411
neither!

when a user runs pppd they get auto assigned the Gateway so they don't have to specify one in windows 95.. however they need to setup the name server because it's not automatic..

I want to MAKE it automatic
0
 
LVL 1

Accepted Solution

by:
dirge earned 50 total points
ID: 1636412
Okay. Add

dns-addr 123.45.67.1 dns-addr 123.45.67.2

to your pppd options, using your primary and secondary DNS IP addresses, respectively.


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The purpose of this article is to demonstrate how we can use conditional statements using Python.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now