|
From: stinga <st...@wo...> - 2003-01-16 07:25:02
|
On 15.01.2003 23:23 Mike Morrett wrote: > My home network=85 >=20 > IP > address > ------- > DHCP PC1 (W2K or BSWare) ---\ > DHCP PC2 (W2K) ----\ > DHCP PC3 (W98se) -----> [HUB] -> IPCOP -> > Modem > -> Al Gore's Internet > Static SRV (RH 7.3 running Samba) ----/ > Static HP4MV Printer w/JetDirect card ---/ >=20 > The address for IPCop (v1.2) is 192.168.1.1 >=20 > I can not "ping ipcop", but "nslookup ipcop" does work. >=20 > C:\TEMP>ping ipcop > Unknown host ipcop. >=20 > C:\TEMP>nslookup > Default Server: ipcop > Address: 192.168.1.1 >=20 > > ipcop > Server: ipcop > Address: 192.168.1.1 >=20 > *** No address (A) records available for ipcop > > exit >=20 > Why does the name of the IPCop firewall box not get entered into its > own > DNS? Is there a way round this? >=20 > IPCop is using DNSMASQ and according to > http://thekelleys.org.uk/dnsmasq/doc.html ... >=20 > "Dnsmasq will serve names from the /etc/hosts file on the firewall > machine: If the names of local machines are there, then they can all > be > addressed without having to maintain /etc/hosts on each machine." >=20 > Well, "192.168.1.1 ipcop" is in the /etc/hosts file. >=20 > Also, "Dnsmasq caches internet addresses (A records and AAAA records) > and > address-to-name mappings (PTR records), reducing the load..." >=20 > So, why does nslookup work, but ping does not? >=20 > I thought the advantage of DHCP was to automagically assign the IP > Address and DNS Server, and not have to edit the "hosts" file?? >=20 > C:\TEMP>ipconfig /all >=20 > Windows 2000 IP Configuration >=20 > Host Name . . . . . . . . . . . . : rusty > Primary DNS Suffix . . . . . . . : > Node Type . . . . . . . . . . . . : Broadcast > IP Routing Enabled. . . . . . . . : No > WINS Proxy Enabled. . . . . . . . : No > DNS Suffix Search List. . . . . . : mydomain.org >=20 > Ethernet adapter Local Area Connection: >=20 > Connection-specific DNS Suffix . : mydomain.org > Description . . . . . . . . . . . : Intel(R) PRO/100+ PCI > Adapter > Physical Address. . . . . . . . . : xx-xx-xx-xx-xx-xx > DHCP Enabled. . . . . . . . . . . : Yes > Autoconfiguration Enabled . . . . : Yes > IP Address. . . . . . . . . . . . : 192.168.1.12 > Subnet Mask . . . . . . . . . . . : 255.255.255.0 > Default Gateway . . . . . . . . . : 192.168.1.1 > DHCP Server . . . . . . . . . . . : 192.168.1.1 > DNS Servers . . . . . . . . . . . : 192.168.1.1 > Lease Obtained. . . . . . . . . . : Wednesday, January 15, > 2003 > 3:57:24 PM > Lease Expires . . . . . . . . . . : Wednesday, January 22, > 2003 > 3:57:24 PM > -- What happens if you ping ipcop.mydomain.com? -- 'ooroo stinga...(:)-) --------------------------------------------------- Email: st...@wo... o You need only two tools. o ///// A hammer and duct tape. If it /@ `\ /) ~ doesn't move and it should, > (O) X< ~ Fish!! use the hammer. If it moves and `\___/' \) ~ shouldn't, use the tape. \\\ --------------------------------------------------- |