troubleshooting Question

Cento 5: To Configure the DNS server

Avatar of tjie
tjieFlag for United States of America asked on
LinuxLinux NetworkingLinux Security
11 Comments2 Solutions532 ViewsLast Modified:
Hi,

1) I have a linux server (which host name is Centos_5) in the Active Directory Environment
2) The Domain Controllers (DC1 and DC2) and the Centos_5 are in LAN 1
- LAN 1: 172.17.17.0/24
- The IP of Centos_5 is "172.17.17.30"
- DC1 is "172.17.17.10"
- DC1 and Centos_5 can ping each other by its IP addresses

3) My Goal:
- I want to configure the DNS server for Centos_5 (the DNS server or name server are the IP of DC1 and DC2 (172.17.17.10 and 172.17.17.11)

4) At Centos_5
- Login as root
- cd /etc
- [root@Centols_5 etc]#
- Type in: gedit resolv.conf
- The error messages:

xlib: connection to ":0.0" refused by server
xlib: no protocol specified

cannot open display:
Run 'gedit --help' to see a full list of available command line options

5) As I mention above that the goal is to configure the DNS server or name servers at Centos_5
6) Any help?
7) Thanks

tjie
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 11 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros