Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Home network DNS problem
Results 1 to 4 of 4

Thread: Home network DNS problem

Hybrid View

  1. #1

    Home network DNS problem

    Hi all,

    I have a networking issue and I'm pulling my hear out by now finding a solution, so I hope anyone here can help me.

    I have a homenetwork setup behind a router with several pc's and a few laptops. I also host a website at my home server (a pogoplug running debian).

    The server has a static IP address, the rest uses DHCP (by the router). All nodes are running linux (debian and ubuntu in various flavours).

    The problem is that none of the computers can resolve hostnames in the network. The router should act as the nameserver.

    I think (but by now, I'm not certain of anything really) that all the computers use a different dnsdomain and that is the main reason of the problem. I can't seem to find any solution other than to manually declare all the IP adresses in resolv.conf. But this is not the perfect solution ofcourse.

    Solution anyone?

  2. #2
    Associate
    Join Date
    Sep 2007
    Location
    idaho
    Posts
    16
    I use all static addresses myself, and do the name = dns in /etc/hosts and /etc/hosts.allow. I don't have a clue what you would put there using dhcp. I have 3 computers w/ 2 to 4 OSs on each one. Therefore I can't rely on dhcp to connect IPs and names. And if I did use dhcp, ssh would go down the tubes too.
    So, sorry, no solution
    Last edited by lynnevan; 02-03-2011 at 03:40 PM. Reason: spelling

  3. #3
    Thanks for posting anyway! Using static ip's for all my machines is another option indeed. But I have several laptops involved which drop in and out of several networks (work, friends... ), so I think that is not the ideal solution.
    I think though that DNS through the router should be able to help you too. DNS will (if it works) resolve the current IP address of the named device, whichever IP address it has.

    Greetings!

  4. #4
    Hi all,

    The solution to this problem was very simple. I never knew that some DNS servers required to add the .local domain for internal DNS. So pinging <hostname>.local did the job!

    Greetings!

Similar Threads

  1. Home Network Help
    By tjwill in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 04-12-2011, 03:32 PM
  2. Help setting up my home network
    By noelc in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 09-05-2009, 12:27 AM
  3. Need help w/home network
    By juanpedro in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 08-15-2008, 05:52 AM
  4. DNS and home network questions
    By deucez in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 04-05-2005, 12:46 PM
  5. Home Network
    By CP in forum Linux - Hardware, Networking & Security
    Replies: 7
    Last Post: 02-05-2003, 07:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •