Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th March 2010, 12:32 PM
era_pk Offline
Registered User
 
Join Date: Jan 2008
Location: Pakistan
Posts: 20
linuxfedorafirefox
Add DNS record from linux shell

Dear All,

Is there any way to add a DNS record from my shell so that when i ping

www.some-domain.com

it diverts to the manually entered IP address.

one way is probably to edit the hostnames file but it would require service restart which takes huge time . Any ideas???

Best Regards,

---------- Post added at 05:32 PM CST ---------- Previous post was at 05:20 PM CST ----------

Solved

echo > /etc/hosts x.x.x.x DESCRIPTION hostname
__________________
Dont follow me. I m always late :)
Reply With Quote
Reply

Tags
add, dns, linux, record, shell

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rebuilding the Grub Boot Loader on Master Boot Record (MBR) w Fedora Linux Vector Guides & Solutions (No Questions) 6 1st August 2009 08:39 AM
which program best to record VHS to linux Wiles Using Fedora 5 7th December 2007 02:20 PM
SB Audigy 2 ZS Notebook won't record in FC5 + I'm a linux moron carthur123 Hardware & Laptops 0 31st May 2006 08:32 AM
java shell in linux....pls help!!! binilbenjamin Programming & Packaging 7 24th April 2006 07:01 PM
MX Record trinimoses Using Fedora 1 8th July 2005 05:21 AM


Current GMT-time: 00:41 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat