Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Auto assign DNS

Posted on 1998-02-24
3
Medium Priority
?
244 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 150 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

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 upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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…
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…
Suggested Courses

730 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