Results 1 to 3 of 3

Thread: Easy dns resolution

  1. #1
    Junior Member
    Join Date
    May 2010
    Location
    Banglore
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Easy dns resolution

    Hi Nix

    In my work env we have a lots of hosts. most all the hosts are in similar hostname with dns hostname for eg cluster11.data.corp.sb1.uni.com, med123.data.corp.sk1.uni.com, also we have some server is colo network which have the host name like cluster11.data.colo.sb1.uni.com

    Please help me to make the resolution easy I want to ssh the sever like this

    ssh cluster11
    ssh custer11.colo
    ssh med123

  2. #2
    Junior Member
    Join Date
    Mar 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Hey,

    You can add this to your resolv.conf:
    options ndots:2
    search data.corp.sb1.uni.com sb1.uni.com
    It's supposed to work

    Good luck!

  3. #3
    Junior Member
    Join Date
    Mar 2012
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    please set up that host names in your local machine /etc/hosts

    IP cluster11
    IP custer11.colo
    IP med123

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Easy file trasfer ways
    By Lilly07 in forum Linux software
    Replies: 6
    Last Post: 29th June 2011, 02:52 AM
  2. need help with very easy script for algorithms
    By zamboz01 in forum Shell scripting
    Replies: 4
    Last Post: 13th January 2011, 03:02 AM
  3. Please suggest me this easy bash shell script
    By nextcmchiranjeevi in forum Shell scripting
    Replies: 1
    Last Post: 11th February 2009, 02:34 AM
  4. Replies: 0
    Last Post: 20th December 2006, 02:01 PM
  5. BIND Name resolution
    By kasimani in forum Linux software
    Replies: 1
    Last Post: 6th October 2006, 12:42 AM

Tags for this Thread

Posting Permissions

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