I have been trying to get my server to act as DNS server, however, have no luck. Read a lot of emails etc on the subject, but still no luck. I have 4 computers, one of which is a server, all using nfs. DHCP server is the router going to the cable modem. Setting up with yast, I have it setup as master for the site. Tried slave, but it asks for the master dns server which will not take a name, only an ip address. The hsd1.ca.comcast.net server will not return ping and comcast says it is a dynamic server so there is no fixed ip address available. Question: How does the local DNS server get the host names from the network computers? Resolve.conf is as follows nameserver 192.168.0.1 search hsd1.ca.comcast.net sha-server.site The nameserver is the ip address of the gateway and DHCP. Any suggestions would be welcome. Art
On Sun, 2005-08-14 at 18:59 -0700, Art Fore wrote:
I have been trying to get my server to act as DNS server, however, have no luck. Read a lot of emails etc on the subject, but still no luck.
I have 4 computers, one of which is a server, all using nfs. DHCP server is the router going to the cable modem. Setting up with yast, I have it setup as master for the site. Tried slave, but it asks for the master dns server which will not take a name, only an ip address. The hsd1.ca.comcast.net server will not return ping and comcast says it is a dynamic server so there is no fixed ip address available.
Question: How does the local DNS server get the host names from the network computers?
Resolve.conf is as follows
nameserver 192.168.0.1 search hsd1.ca.comcast.net sha-server.site
The nameserver is the ip address of the gateway and DHCP.
Any suggestions would be welcome.
Basically you need to setup your own zones and enter the info necessary for your network. I believe there is a YaST module for that purpose. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
On Sun, 2005-08-14 at 21:17 -0400, Ken Schneider wrote:
On Sun, 2005-08-14 at 18:59 -0700, Art Fore wrote:
I have been trying to get my server to act as DNS server, however, have no luck. Read a lot of emails etc on the subject, but still no luck.
I have 4 computers, one of which is a server, all using nfs. DHCP server is the router going to the cable modem. Setting up with yast, I have it setup as master for the site. Tried slave, but it asks for the master dns server which will not take a name, only an ip address. The hsd1.ca.comcast.net server will not return ping and comcast says it is a dynamic server so there is no fixed ip address available.
Question: How does the local DNS server get the host names from the network computers?
Resolve.conf is as follows
nameserver 192.168.0.1 search hsd1.ca.comcast.net sha-server.site
The nameserver is the ip address of the gateway and DHCP.
Any suggestions would be welcome.
Basically you need to setup your own zones and enter the info necessary for your network. I believe there is a YaST module for that purpose.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
I tried that under the zone editor. It says on the column to the left: NS Records To add a new name server, enter the name server address and click Add. To remove one of the listed name servers, select it and click Delete. I enter the the DSCP server IP address 192.168.0.1, and I get: Error Aa valid domain names consists of components separated by dots. Ench compenent contains letter, digits, and hyphens. A hyphen may no start or end a component and the last component may not begin with a digit. Now this makes no sense. I asks for the name server address, then will not take it! Please explain that one? Art
On Sunday 14 August 2005 7:54 pm, Art Fore wrote:
On Sun, 2005-08-14 at 21:17 -0400, Ken Schneider wrote:
On Sun, 2005-08-14 at 18:59 -0700, Art Fore wrote:
I have been trying to get my server to act as DNS server, however, have no luck. Read a lot of emails etc on the subject, but still no luck.
I have 4 computers, one of which is a server, all using nfs. DHCP server is the router going to the cable modem. Setting up with yast, I have it setup as master for the site. Tried slave, but it asks for the master dns server which will not take a name, only an ip address. The hsd1.ca.comcast.net server will not return ping and comcast says it is a dynamic server so there is no fixed ip address available.
Question: How does the local DNS server get the host names from the network computers?
Resolve.conf is as follows
nameserver 192.168.0.1 search hsd1.ca.comcast.net sha-server.site
The nameserver is the ip address of the gateway and DHCP.
Any suggestions would be welcome.
Basically you need to setup your own zones and enter the info necessary for your network. I believe there is a YaST module for that purpose.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
I tried that under the zone editor. It says on the column to the left:
NS Records To add a new name server, enter the name server address and click Add. To remove one of the listed name servers, select it and click Delete.
I enter the the DSCP server IP address 192.168.0.1, and I get:
Error Aa valid domain names consists of components separated by dots. Ench compenent contains letter, digits, and hyphens. A hyphen may no start or end a component and the last component may not begin with a digit.
Now this makes no sense. I asks for the name server address, then will not take it!
Please explain that one?
Are you really really sure you really want to be running a name server? Based on the questions you are asking, I'd say that you do not know enough to be running your own name server. Perhaps it would be better if you told us _why_ you think you need a name server rather than simply using your providers. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.8-default x86_64 SuSE Linux 9.3 (x86-64)
On Sun, 2005-08-14 at 19:01 -0700, Scott Leighton wrote:
On Sunday 14 August 2005 7:54 pm, Art Fore wrote:
On Sun, 2005-08-14 at 21:17 -0400, Ken Schneider wrote:
On Sun, 2005-08-14 at 18:59 -0700, Art Fore wrote:
I have been trying to get my server to act as DNS server, however, have no luck. Read a lot of emails etc on the subject, but still no luck.
I have 4 computers, one of which is a server, all using nfs. DHCP server is the router going to the cable modem. Setting up with yast, I have it setup as master for the site. Tried slave, but it asks for the master dns server which will not take a name, only an ip address. The hsd1.ca.comcast.net server will not return ping and comcast says it is a dynamic server so there is no fixed ip address available.
Question: How does the local DNS server get the host names from the network computers?
Resolve.conf is as follows
nameserver 192.168.0.1 search hsd1.ca.comcast.net sha-server.site
The nameserver is the ip address of the gateway and DHCP.
Any suggestions would be welcome.
Basically you need to setup your own zones and enter the info necessary for your network. I believe there is a YaST module for that purpose.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
I tried that under the zone editor. It says on the column to the left:
NS Records To add a new name server, enter the name server address and click Add. To remove one of the listed name servers, select it and click Delete.
I enter the the DSCP server IP address 192.168.0.1, and I get:
Error Aa valid domain names consists of components separated by dots. Ench compenent contains letter, digits, and hyphens. A hyphen may no start or end a component and the last component may not begin with a digit.
Now this makes no sense. I asks for the name server address, then will not take it!
Please explain that one?
Are you really really sure you really want to be running a name server? Based on the questions you are asking, I'd say that you do not know enough to be running your own name server.
Perhaps it would be better if you told us _why_ you think you need a name server rather than simply using your providers.
Scott
-- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.8-default x86_64 SuSE Linux 9.3 (x86-64)
ISP does not provide same service for local network. Art
On Sunday 14 August 2005 8:35 pm, Art Fore wrote:
ISP does not provide same service for local network.
Maybe I don't understand what you are trying to accomplish. I have a local LAN with 4 wired and 1 wireless PC connected. A router sits on the LAN and connects me via ASDL to my ISP. The router provides DHCP to the internal network and passes all of the internal PC's the DNS server address of my ISP. I have no need to run a local DNS server. What is different about what you are trying to do? Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.8-default x86_64 SuSE Linux 9.3 (x86-64)
On 8/14/05, Scott Leighton <helphand@pacbell.net> wrote:
I have no need to run a local DNS server. What is different about what you are trying to do?
I think he simply wants his local machines to be able to communicate using host names rather than IP. Basically, what you want is one of 2 things: 1)simplest is use host files on each pc giving the name and IP address of each other machine 2)configure your named server as the master zone server (you can use the actual public dns name, or use "company.local" or something like that) and then configure the named server to be a forwarder ... ie any dns request that it does not know how to resolve, it sends the request to your ISP's dns server. The only issue with #2 is that if you have actual public dns names/addresses, you will have to be sure these are hosted at your ISP dns server, and then will need to duplicate these A records, but using the private IP address, in the local zone file. Hope this helps ... PS .. this is a nice resource for DNS questions: http://forums.devshed.com/forumdisplay.php?forumid=36 Peter
----- Original Message ----- From: "Art Fore" <art.fore@comcast.net> To: "Scott Leighton" <helphand@pacbell.net> Cc: <suse-linux-e@suse.com> Sent: Sunday, August 14, 2005 10:35 PM Subject: Re: [SLE] Suse 9.3 DNS server setup
On Sun, 2005-08-14 at 19:01 -0700, Scott Leighton wrote:
On Sunday 14 August 2005 7:54 pm, Art Fore wrote:
On Sun, 2005-08-14 at 21:17 -0400, Ken Schneider wrote:
On Sun, 2005-08-14 at 18:59 -0700, Art Fore wrote:
I have been trying to get my server to act as DNS server, however, have no luck. Read a lot of emails etc on the subject, but still no luck.
I have 4 computers, one of which is a server, all using nfs. DHCP server is the router going to the cable modem. Setting up with yast, I have it setup as master for the site. Tried slave, but it asks for the master dns server which will not take a name, only an ip address. The hsd1.ca.comcast.net server will not return ping and comcast says it is a dynamic server so there is no fixed ip address available.
Question: How does the local DNS server get the host names from the network computers?
Resolve.conf is as follows
nameserver 192.168.0.1 search hsd1.ca.comcast.net sha-server.site
The nameserver is the ip address of the gateway and DHCP.
Any suggestions would be welcome.
Basically you need to setup your own zones and enter the info necessary for your network. I believe there is a YaST module for that purpose.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
I tried that under the zone editor. It says on the column to the left:
NS Records To add a new name server, enter the name server address and click Add. To remove one of the listed name servers, select it and click Delete.
I enter the the DSCP server IP address 192.168.0.1, and I get:
Error Aa valid domain names consists of components separated by dots. Ench compenent contains letter, digits, and hyphens. A hyphen may no start or end a component and the last component may not begin with a digit.
Now this makes no sense. I asks for the name server address, then will not take it!
Please explain that one?
Are you really really sure you really want to be running a name server? Based on the questions you are asking, I'd say that you do not know enough to be running your own name server.
Perhaps it would be better if you told us _why_ you think you need a name server rather than simply using your providers.
Scott
-- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-21.8-default x86_64 SuSE Linux 9.3 (x86-64)
ISP does not provide same service for local network.
Art
Art, If I understand you desires, what you want is a functioning dhcp with dynamic dns. This allows dhcpd to dymanically update your local 'caching only' dns set up to add each of you local machines to both your forward and reverse local zone files. I highly recommend the setup. Once configured, it is simple, elegant and bulletproof. There are a lot of great dhcp/dynamic dns how tos out on the web. The Bind 9 Admin guide is all you really need. SuSE comes with both dhcpd and bind (dns) that work great. The challenge is to get comfortable with how SuSE runs both dhcpd and bind chrooted in /var/lib. That is in /var/lib/dhcpd and /var/lib/named. The benefits you get from this set up is that dhcpd will add/update the dns records for each of your machines when the IP is assigned. All name resolution is automagically provided. Very useful if you have multiple laptops that need access to your lan. Yes there is always the /etc/hosts solution, but I don't want to have to edit the thing every time a new laptop appears. In addition to solving your name resolution needs, you will also get a slight performance boost. The caching part of the setup checks the local cache for name resolution before querying you ISP's dns for addresses. So if the site you need is in the cache, the name resolution response time is improved. If you are looking for this type of solution, the overview is: (1) disable dhcp on you router; (2) configure dhcpd on you linux server to provide dhcp services; (3) generate you keys for dhcp updater to allow the dynamic update; (Read the Bind 9 Admin Manual) (4) configure your dns zone files; (5) rcdhcpd and rcnamed; (6) get familiar with nsupdate since Bind 9 keeps track of updates, you can't just edit the zone files without screwing up the journals (zone.jnl files) Once you pay the price to set it up the first time, you can basically forget what you learned, it just keeps on working, and working and working......... The first time is a pain, but it is worth the learning curve... -- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com --
On Sun, 2005-08-14 at 22:53 -0500, david rankin wrote: <snip>
If I understand you desires, what you want is a functioning dhcp with dynamic dns. This allows dhcpd to dymanically update your local 'caching only' dns set up to add each of you local machines to both your forward and reverse local zone files. I highly recommend the setup. Once configured, it is simple, elegant and bulletproof. There are a lot of great dhcp/dynamic dns how tos out on the web. The Bind 9 Admin guide is all you really need. SuSE comes with both dhcpd and bind (dns) that work great. The challenge is to get comfortable with how SuSE runs both dhcpd and bind chrooted in /var/lib. That is in /var/lib/dhcpd and /var/lib/named. The benefits you get from this set up is that dhcpd will add/update the dns records for each of your machines when the IP is assigned. All name resolution is automagically provided. Very useful if you have multiple laptops that need access to your lan. Yes there is always the /etc/hosts solution, but I don't want to have to edit the thing every time a new laptop appears.
In addition to solving your name resolution needs, you will also get a slight performance boost. The caching part of the setup checks the local cache for name resolution before querying you ISP's dns for addresses. So if the site you need is in the cache, the name resolution response time is improved.
If you are looking for this type of solution, the overview is:
(1) disable dhcp on you router; (2) configure dhcpd on you linux server to provide dhcp services; (3) generate you keys for dhcp updater to allow the dynamic update; (Read the Bind 9 Admin Manual) (4) configure your dns zone files; (5) rcdhcpd and rcnamed; (6) get familiar with nsupdate since Bind 9 keeps track of updates, you can't just edit the zone files without screwing up the journals (zone.jnl files)
Once you pay the price to set it up the first time, you can basically forget what you learned, it just keeps on working, and working and working......... The first time is a pain, but it is worth the learning curve...
-- David C. Rankin, J.D., P.E. RANKIN LAW FIRM, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 (936) 715-9333 (936) 715-9339 fax www.rankinlawfirm.com --
Thanks for the info. Sounds like this is just what fits my situation. Will try it during the next week. Art
On Sun, 2005-08-14 at 19:54 -0700, Art Fore wrote:
On Sun, 2005-08-14 at 21:17 -0400, Ken Schneider wrote: I tried that under the zone editor. It says on the column to the left:
NS Records To add a new name server, enter the name server address and click Add. To remove one of the listed name servers, select it and click Delete.
I enter the the DSCP server IP address 192.168.0.1, and I get:
What do you mean by "DSCP" server?. Do you mean "DHCP". What is supplying your DHCP?
Error A valid domain names consists of components separated by dots. Each component contains letter, digits, and hyphens. A hyphen may no start or end a component and the last component may not begin with a digit.
Now this makes no sense. I asks for the name server address, then will not take it!
Please explain that one?
You have to supply a domain name -not- an IP address. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
On Mon, 2005-08-15 at 08:13 -0400, Ken Schneider wrote:
On Sun, 2005-08-14 at 19:54 -0700, Art Fore wrote:
On Sun, 2005-08-14 at 21:17 -0400, Ken Schneider wrote: I tried that under the zone editor. It says on the column to the left:
NS Records To add a new name server, enter the name server address and click Add. To remove one of the listed name servers, select it and click Delete.
I enter the the DSCP server IP address 192.168.0.1, and I get:
What do you mean by "DSCP" server?. Do you mean "DHCP". What is supplying your DHCP?
Error A valid domain names consists of components separated by dots. Each component contains letter, digits, and hyphens. A hyphen may no start or end a component and the last component may not begin with a digit.
Now this makes no sense. I asks for the name server address, then will not take it!
Please explain that one?
You have to supply a domain name -not- an IP address.
-- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998
Yes, DSCP should the DHCP. Originally the router connected to the cable modem, now I have it turned off and the server doing DHCP which is working.
From the help text "server address" which means to me the ip address. They should have said "server name" if they wanted the server name.
Art
On 8/14/05, Art Fore <art.fore@comcast.net> wrote:
Question: How does the local DNS server get the host names from the network computers?
you enter them into the zone file. I don't know if yast provides a handy "gui" to do this? But at any rate once you know the syntax it's pretty easy. There are lots of how-to's about it, and the dns forum I pointed to in my last post will offer help, as well. But, with such a small net ... using the host file on each machine is ... well, pretty danged easy! Peter
participants (5)
-
Art Fore
-
david rankin
-
Ken Schneider
-
Peter Van Lone
-
Scott Leighton