Eurocardsharing

Go Back   Eurocardsharing > Sharing receivers > DreamBox > Tutorials

Tutorials Discussion, How to have more than one DNS host in DM500 at DreamBox forum; Hi guys ! Recently I faced a situation in which my dm500 didn't resolved any host name and the root ...

Reply
 
LinkBack Thread Tools Display Modes
How to have more than one DNS host in DM500
Old
  (#1)
freedream22
ECS Master
 
freedream22's Avatar
 
Offline
Posts: 671

Level: 23 [♥ Bé-Yêu ♥]
Life: 0 / 564
Magic: 223 / 15070
Experience: 58%

Thanks: 49
Thanked 185 Times in 135 Posts
Join Date: Mar 2009
Age: 30
How to have more than one DNS host in DM500 - 11-March-2010, 23:52

Hi guys !

Recently I faced a situation in which my dm500 didn't resolved any host name and the root of the cause was that nameserver set in my network setting was out of service.
I made a telnet to my dm500 and added another nameserver by giving this command :
echo "nameserver 8.8.8.8" >> /etc/resolv.conf

The DNS 8.8.8.8 is the public DNS offered by Google.
When I rebooted my box I found that the DNS which I added before has been removed,so I started to dig how to have more than one nameserver in my box.
I tried the method of creating the executable file init under /var/etc/ path,but again when the box was rebooted the file /etc/resolv.conf had only one dns equal to what you or your dhcp specified in network settings.
I use PLI image in my box ,but I think that this should work similar to other images.

Telnet to your dreambox and give this command:

echo "nameserver 8.8.8.8" >> /var/etc/plimgr/scripts/emusrv

If you want to add another just give the same command changing only the ip of the DNS like this:

echo "nameserver xxx.xxx.xxx.xxx" >> /var/etc/plimgr/scripts/emusrv

where the xxx.xxx.xxx.xxx is the IP of DNS

In other images maybe you should find first where is the scripts directory. This can be done by giving this command:

find / -name scripts

After locating scripts look under it for emusrv or emu script file ending with ".sh" and add to the end of that file the "echo nameserver xxx.xxx.xxx.xxx" line like in the example above.

cheers!
   
Reply With Quote
The Following User Says Thank You to freedream22 For This Useful Post:
Home Tech (23-March-2010)
Reply

Bookmarks

Tags
dm500, host


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump



ECS on RSS ECS on Twitter ECS on Facebook ECS on Youtube
Follow us on:

Powered by vBulletin
Copyright 2002 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
Dreambox