[Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1766
  • Last Modified:

Linux DNS Entries

Linux Debian or RH.  How do you add an static entry to a dns server
3 Solutions
best explained by an example i think....

In /etc/dhcpd.conf add something like:

group { # id="WORKSTATIONS"

  host Workstation1 {
    hardware ethernet 00:17:6B:51:31:F3;


under your subnet definition.

also to get help on the server, type:

man dhcpd.conf
gordonmannAuthor Commented:
Not what I had in mind.  I have a P2P VPN and cannot connect to the client via the provided software UNLESS I put an entry into each systems host file.  Which for 800 users is a bit much.

http:// thevpn.guruCommented:
@dlangr's example explains how to setup up a static dhcp entry...what you need is to install BIND8 or BIND9 then create a DNS Zone and in that DNS zone create a 'A' entry as needed. You are best of installing Webmin that will help you do some web based administration of Linux DNS..after that you will have to add the Linux server as a DNS server to the client computers ..for more about Linux DNS

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

http:// thevpn.guruCommented:
If you already have DNS setup copy your zone file and I will edit it for you as needed..as for Debian or RH it is the same process with any distro. However the installation is much easier in Debian using apt-get unless you are using Red Hat with a suscribtion and you can do automated installs and updates.

I assume that you have bind installed and configured on your server. If you want more info on how to install and configure bind, please see the links provided at the end.

- To add records to dns server, you need to edit the corresponding zone file for your zone.

- To find the zone file for your zone, look into your bind configuration file named.conf

- Edit your zone file to add the required resource record entry. Please see the link below for  bind doc


- restart your named


They are right, i misread because i was kindof in a hurry. my apologies.

Featured Post

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now