Solved

Auto assign DNS

Posted on 1998-02-24
3
227 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

822 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