Re: Question on DNS setup change not working.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3 Sep 2011 at 7:47, Cameron Simpson wrote:

Date sent:      	Sat, 3 Sep 2011 07:47:02 +1000
From:           	Cameron Simpson <cs@xxxxxxxxxx>
To:             	Community support for Fedora users 
<users@xxxxxxxxxxxxxxxxxxxxxxx>
Subject:        	Re: Question on DNS setup change not working.
Send reply to:  	Community support for Fedora users 
<users@xxxxxxxxxxxxxxxxxxxxxxx>
	<mailto:users-
request@xxxxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe>
	<mailto:users-
request@xxxxxxxxxxxxxxxxxxxxxxx?subject=subscribe>

> On 03Sep2011 04:56, Michael D. Setzer II <mikes@xxxxxxxxxxxxxxxx> wrote:
> | Our MIS department just decided to not allow the use of the public 
> | IP addresses of system from local machines, so I made the 
> | additions to the hosts file with the private ip and the name.
> | restart named and restarted squid, and squid picked up the 
> | change, and would bring up pages using the name. Unfortunately, 
> | dig and other options would still be using the public IP instead.
> | 
> | Tried restarting the machine to see if something might not have 
> | been changed, but it remains the same.
> 
> /etc/hosts is not part of DNS. It is part of the name lookup procedure
> used by gethostbyname(). So: squid is affected by /etc/hosts, but dig
> and named are NOT, and will not be: they are specificly DNS tools.
> 
> My recommendation is to add a special .local zone to your named with
> names host1.local etc with the private addresses. Then add local to the
> _front_ of the search path in /etc/resolv.conf:
> 
>   search local your.normal.domain.here
> 
> Then using the short names should work.
> 

Thanks for the information. At the moment, the system is just 
running a caching nameserver, so will have to look at the process 
to setup the dns. I was under the impression that the resolv.conf 
with hosts bind was also for dns.

> Cheers,
> -- 
> Cameron Simpson <cs@xxxxxxxxxx> DoD#743
> http://www.cskk.ezoshosting.com/cs/
> 
> "He deserves death!"
> "Deserves it!  I daresay he does.  And many die that deserve life.  Is it in
>  your power to give it to them?  Then do not be so quick to deal out death in
>  judgement, for even the very wise may not see all ends."
>         - Gandalf, _The Lord of the Rings_
> -- 
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes@xxxxxxxxxxxxxxxx                            
  mailto:msetzerii@xxxxxxxxx
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
  G4L Disk Imaging Project maintainer 
  http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC@HOME CREDITS
SETI        11189934.576302   |   EINSTEIN     6468781.769851
ROSETTA      3563786.501816   |   ABC          7853564.918328

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux